Add ability to change cover image

Fixes #125
This commit is contained in:
rubenwardy
2020-12-10 22:40:20 +00:00
parent fb1d33d27a
commit 5a0aa636f3
6 changed files with 63 additions and 4 deletions

View File

@@ -2,7 +2,7 @@
# Create a database migration, and copy it back to the host.
docker exec contentdb_app_1 sh -c "FLASK_CONFIG=../config.cfg FLASK_APP=app/__init__.py flask db revision"
docker exec contentdb_app_1 sh -c "FLASK_CONFIG=../config.cfg FLASK_APP=app/__init__.py flask db migrate"
docker exec -u root contentdb_app_1 sh -c "cp /home/cdb/migrations/versions/* /source/migrations/versions/"
USER=$(whoami)