Add post_upgrade
This commit is contained in:
parent
9dd8c98c51
commit
3a41dc6559
1 changed files with 6 additions and 0 deletions
6
Makefile
6
Makefile
|
@ -37,3 +37,9 @@ daemon:
|
||||||
@echo ""
|
@echo ""
|
||||||
@echo "--- STARTING UWSGI DAEMON ---"
|
@echo "--- STARTING UWSGI DAEMON ---"
|
||||||
|
|
||||||
|
post_upgrade: upgrade_env run_migrations
|
||||||
|
# Make sure a tmp directory exists
|
||||||
|
@mkdir -p acmsite/tmp
|
||||||
|
# Create upload directory
|
||||||
|
@mkdir -p acmsite/uploads
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue