зеркало из https://github.com/mozilla/subhub.git
switched out npm for yarn to manage node deps
This commit is contained in:
Родитель
2ac45495c4
Коммит
932e92b6b8
|
@ -2,6 +2,10 @@
|
||||||
payment subscription REST api for customers:
|
payment subscription REST api for customers:
|
||||||
- FxA (Firefox Accounts)
|
- FxA (Firefox Accounts)
|
||||||
|
|
||||||
|
## Required Software
|
||||||
|
- python3.7: requires python3.7 interpreter for creating virtual envionments for testing and running subhub
|
||||||
|
- yarn (https://yarnpkg.com): package manager for node modules for setting up serverless for running and deploying subhub
|
||||||
|
|
||||||
## Important Environment Variables
|
## Important Environment Variables
|
||||||
The CFG object is for accessing values either from the `subhub/.env` file and|or superceeded by env vars.
|
The CFG object is for accessing values either from the `subhub/.env` file and|or superceeded by env vars.
|
||||||
A value that is known to be set or have a default can be accessed:
|
A value that is known to be set or have a default can be accessed:
|
||||||
|
|
3
dodo.py
3
dodo.py
|
@ -221,10 +221,11 @@ def check_reqs():
|
||||||
|
|
||||||
def task_check():
|
def task_check():
|
||||||
'''
|
'''
|
||||||
checks: noroot, python3.7, awscli, json, yaml, black, reqs
|
checks: noroot, python3.7, yarn, awscli, json, yaml, black, reqs
|
||||||
'''
|
'''
|
||||||
yield check_noroot()
|
yield check_noroot()
|
||||||
yield gen_prog_check('python3.7')
|
yield gen_prog_check('python3.7')
|
||||||
|
yield gen_prog_check('yarn')
|
||||||
if not CFG('TRAVIS', None):
|
if not CFG('TRAVIS', None):
|
||||||
yield gen_prog_check('awscli', 'aws')
|
yield gen_prog_check('awscli', 'aws')
|
||||||
yield gen_file_check('json', json.load, '**/*.json')
|
yield gen_file_check('json', json.load, '**/*.json')
|
||||||
|
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Загрузка…
Ссылка в новой задаче