calibre-web-companion/deployment/entrypoints/start.sh
2021-03-02 00:09:15 -03:00

6 lines
148 B
Bash

path=/usr/src/app/CalibreWebCompanion
chown -R unit:unit /usr/src/app
python "${path}/manage.py" makemigrations
python "${path}/manage.py" migrate