Skip to content

Commit 4e80a77

Browse files
committed
Add run script
1 parent fafe552 commit 4e80a77

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

run.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
source env/bin/activate
2+
export FLASK_APP="app.main:create_app"
3+
export FLASK_RUN_PORT=8080
4+
export FLASK_APP_HOSTNAME="0.0.0.0"
5+
echo $VIRTUAL_ENV
6+
flask run --host=$FLASK_APP_HOSTNAME

0 commit comments

Comments
 (0)