Finish packaging and change to src-based packaging layout, replace caddy with haproxy for performance, and update docker-compose and Dockerfiles for new packaging.
This commit is contained in:
parent
959b06c425
commit
762361a21b
210 changed files with 235 additions and 168 deletions
|
|
@ -1,15 +1,15 @@
|
|||
#!/bin/bash
|
||||
|
||||
echo "Running makemigrations --check to make sure migrations are up to date..."
|
||||
django-admin makemigrations --noinput --check 2>&1
|
||||
echo "*** Running makemigrations --check to make sure migrations are up to date..."
|
||||
django-admin makemigrations --check --noinput 2>&1 || exit 1
|
||||
|
||||
echo "Running migrate to apply migrations..."
|
||||
echo "*** Running migrate to apply migrations..."
|
||||
django-admin migrate --noinput 2>&1
|
||||
|
||||
echo "Clearing django cache..."
|
||||
echo "*** Clearing django cache..."
|
||||
django-admin clear_cache 2>&1
|
||||
|
||||
echo "Running collectstatic..."
|
||||
echo "*** Running collectstatic..."
|
||||
django-admin collectstatic -c --no-input 2>&1
|
||||
|
||||
echo "Deployed successfully!"
|
||||
echo "*** Deployed successfully!"
|
||||
Loading…
Add table
Add a link
Reference in a new issue