Add backend-prod target (debug, 0.0.0.0, 8084)

This commit is contained in:
2019-04-22 23:38:47 +02:00
parent 4a435d5b28
commit 2db0d63269
3 changed files with 14 additions and 0 deletions

View File

@@ -27,6 +27,8 @@ include env.local
N_CORES = 5
# insert kres files into database in chunks, for fewer connections
KRES_CHUNK_SIZE = 30
# Backend parameters found in conf file (see make backend)
export
.PHONY: python-env fill-database
@@ -107,3 +109,8 @@ backend-dev:
cd ./src/backend_flask; python3 app.py \
--config-file ./conf_files/dev_conf.yaml \
--dbuser $(DB_USR_USER) --dbpass $(DB_USR_PASS) --dbaddr $(DBADDR)
backend-prod:
cd ./src/backend_flask; python3 app.py \
--config-file ./conf_files/prod_conf.yaml \
--dbuser $(DB_USR_USER) --dbpass $(DB_USR_PASS) --dbaddr $(DBADDR)