-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
32 lines (22 loc) · 587 Bytes
/
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
SGD_NEX = sgdbackend_development.ini
SGD_PERF = perfbackend_development.ini
BUILDOUT_DEPLOY = buildout_deploy.cfg
BOOTSTRAP = bootstrap.py
dev-deploy:
. dev_deploy_variables.sh && cap dev deploy
prod-deploy:
. prod_deploy_variables.sh && cap prod deploy
build: bootstrap
./bin/buildout
build-deploy: bootstrap
./bin/buildout -c $(BUILDOUT_DEPLOY)
bootstrap:
python $(BOOTSTRAP)
run-sgd:
bin/pserve $(SGD_NEX) --reload
run-perf:
bin/pserve $(SGD_PERF) --reload
test-sgd:
bin/test src/sgd/backend/tests --model nex
test-perf:
bin/test src/sgd/backend/tests --model perf