Add backend-prod target (debug, 0.0.0.0, 8084)
This commit is contained in:
7
Makefile
7
Makefile
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user