microblog.pub/run.sh

5 lines
236 B
Bash
Raw Normal View History

2018-09-01 04:23:19 -05:00
#!/bin/bash
python -c "import logging; logging.basicConfig(level=logging.DEBUG); import migrations; migrations.perform()"
2018-09-01 04:23:19 -05:00
python -c "import config; config.create_indexes()"
2019-04-08 09:54:07 -05:00
gunicorn -t 600 -w 5 -b 0.0.0.0:5005 --log-level debug app:app