mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-11-15 03:04:28 +00:00
4 lines
236 B
Bash
Executable file
4 lines
236 B
Bash
Executable file
#!/bin/bash
|
|
python -c "import logging; logging.basicConfig(level=logging.DEBUG); import migrations; migrations.perform()"
|
|
python -c "import config; config.create_indexes()"
|
|
gunicorn -t 600 -w 5 -b 0.0.0.0:5005 --log-level debug app:app
|