Packaging fixes

This commit is contained in:
badblocks 2025-05-08 21:08:12 -07:00
parent fa6103d007
commit 959b06c425
19 changed files with 389 additions and 68 deletions

View file

@ -1,5 +1,15 @@
#!/bin/bash
django-admin makemigrations --noinput --check && django-admin migrate --noinput
django-admin clear_cache
django-admin collectstatic -c --no-input
echo "Running makemigrations --check to make sure migrations are up to date..."
django-admin makemigrations --noinput --check 2>&1
echo "Running migrate to apply migrations..."
django-admin migrate --noinput 2>&1
echo "Clearing django cache..."
django-admin clear_cache 2>&1
echo "Running collectstatic..."
django-admin collectstatic -c --no-input 2>&1
echo "Deployed successfully!"