Skip to content

Commit

Permalink
chg: [configuration] Tested new env variable for classical deployment…
Browse files Browse the repository at this point in the history
… and with docker.
  • Loading branch information
cedricbonhomme committed Sep 28, 2023
1 parent c436fc0 commit a84ba90
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,8 @@ services:
tty: true
environment:
- FLASK_APP=runserver.py
- FLASK_DEBUG=0
- MOSP_CONFIG=docker.py
- ENVIRONMENT=production
- DEBUG=0
- HOST=0.0.0.0
- PORT=5000
command: "./entrypoint.sh"
Expand Down
3 changes: 2 additions & 1 deletion docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ Get the source code and install the software:
$ poetry shell
$ pybabel compile -d mosp/translations
$ export FLASK_APP=runserver.py
$ export FLASK_ENV=development
$ export FLASK_DEBUG=1
$ export MOSP_CONFIG=production.py
$ flask db_create
$ flask db_init
$ flask import_licenses_from_spdx
Expand Down

0 comments on commit a84ba90

Please sign in to comment.