Skip to content

Commit 51226f9

Browse files
authored
Create entrypoint.sh
1 parent 7b58b0f commit 51226f9

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

entrypoint.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/bin/sh
2+
3+
# Make migrations and migrate the database.
4+
echo "Making migrations and migrating the database. "
5+
python manage.py makemigrations --noinput
6+
python manage.py migrate --noinput
7+
python manage.py collectstatic --noinput
8+
exec "$@"

0 commit comments

Comments
 (0)