-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
65 lines (46 loc) · 1.7 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
deploy-assets:
. dev_deploy_variables.sh && grunt deployAssets
dev-deploy:
. dev_deploy_variables.sh && grunt deployAssets && cap dev deploy
qa-deploy:
. dev_deploy_variables.sh && grunt deployAssets && cap qa deploy
qa-deploy-test:
. dev_deploy_variables.sh && grunt deployAssetsTest && cap qa deploy
staging-deploy:
. prod_deploy_variables.sh && grunt deployAssets && cap staging deploy
prod-deploy:
. prod_deploy_variables.sh && grunt deployAssets && cap prod deploy
preview-deploy:
. dev_deploy_variables.sh && grunt deployAssets && cap preview deploy
run-prod:
pserve sgdfrontend_production.ini --daemon --pid-file=/var/run/pyramid/frontend.pid
stop-prod:
-pserve sgdfrontend_production.ini --stop-daemon --pid-file=/var/run/pyramid/frontend.pid
build: dependencies grunt
pip install -r requirements.txt
python setup.py develop
build-deploy:
pip install -r requirements.txt
python setup.py develop
grunt:
grunt
dependencies:
npm install
npm install -g grunt-cli
bundle install
npm run format
# npm run lint
run:
. dev_deploy_variables.sh && pserve sgdfrontend_development.ini --reload
tests:
nosetests test/
# add START_URL env variable to point at non-production environment
ghost:
. dev_deploy_variables.sh && python lib/ghost/run_remote_ghost.py && open $$GHOST_SUITE_BROWSER_URL
ghost-dev:
. dev_deploy_variables.sh && START_URL=http://$$DEV_SERVER python lib/ghost/run_remote_ghost.py && open $$GHOST_SUITE_BROWSER_URL
ghost-with-alert:
. prod_deploy_variables.sh && python lib/ghost/run_remote_ghost.py && open $$GHOST_SUITE_BROWSER_URL
ghost-local:
. dev_deploy_variables.sh && python lib/ghost/run_local_ghost.py && open $$GHOST_SUITE_BROWSER_URL
dev-deploy-ghost: dev-deploy ghost-dev