mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-11-14 16:55:42 +00:00
Bake constants in boot.sh script instead of .env
This commit is contained in:
parent
1c9bd3c0fc
commit
6757123078
7
.env.tpl
7
.env.tpl
@ -173,10 +173,3 @@ NOPAQUE_CONTACT_EMAIL_ADRESS=
|
||||
# DEFAULT: 0
|
||||
# Number of values to trust for X-Forwarded-Proto
|
||||
# NOPAQUE_NUM_PROXIES_X_PROTO=
|
||||
|
||||
|
||||
################################################################################
|
||||
# Constants #
|
||||
# DO NOT CHANGE ANYTHING BELOW #
|
||||
################################################################################
|
||||
FLASK_APP=nopaque.py
|
||||
|
@ -1,5 +1,6 @@
|
||||
#!/bin/bash
|
||||
source venv/bin/activate
|
||||
export FLASK_APP=nopaque.py
|
||||
if [[ "$#" -eq 0 ]]; then
|
||||
while true; do
|
||||
flask deploy
|
||||
|
Loading…
Reference in New Issue
Block a user