Skip to content

Commit

Permalink
add cron start to run file
Browse files Browse the repository at this point in the history
  • Loading branch information
tavdog committed Dec 4, 2024
1 parent 0fa3041 commit 268d0d6
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions run
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/bin/sh
python3 -m gunicorn -w 4 -b "0.0.0.0:8000" --reload --timeout 120 "tidbyt_manager:create_app()"
/etc/init.d/cron start
# PRODUCTION
#python3 -m gunicorn --config gunicorn.conf.py "tidbyt_manager:create_app()"

# export FLASK_APP=tidbyt_manager
# export FLASK_DEBUG=1
# flask run --host=0.0.0.0 --port=8000
# FLASK DEVELOPMENT
FLASK_APP=tidbyt_manager FLASK_DEBUG=1 flask run --host=0.0.0.0 --port=8000

0 comments on commit 268d0d6

Please sign in to comment.