forked from external-repos/ivatar-docker
fix: ensure virtual environment is activated before running migrations
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 1m41s
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 1m41s
This commit is contained in:
@@ -1,4 +1,10 @@
|
|||||||
#!/bin/ash
|
#!/bin/ash
|
||||||
|
|
||||||
|
# Activate the virtual environment
|
||||||
|
source .virtualenv/bin/activate
|
||||||
|
|
||||||
|
# Run Django migrations
|
||||||
./manage.py migrate
|
./manage.py migrate
|
||||||
|
|
||||||
|
# Start the Django development server
|
||||||
exec ./manage.py runserver 0:8080
|
exec ./manage.py runserver 0:8080
|
||||||
|
|||||||
Reference in New Issue
Block a user