First version

This commit is contained in:
2024-12-16 16:35:12 +01:00
commit 69bc5698bd
52 changed files with 5598 additions and 0 deletions

16
backend/entrypoint.sh Executable file
View File

@ -0,0 +1,16 @@
#!/bin/sh
echo "Waiting for postgres..."
while ! nc -z db 5432; do
sleep 0.1
done
echo "PostgreSQL started"
# python manage.py flush --no-input
# python manage.py migrate
python manage.py collectstatic --no-input --clear > /dev/null 2>&1 &
exec "$@"