1
0
Fork 1
mirror of https://git.sr.ht/~tsileo/microblog.pub synced 2025-01-13 16:44:28 +00:00
microblog.pub/run.sh

5 lines
258 B
Bash
Raw Normal View History

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