Created
June 4, 2023 21:29
-
-
Save Palwisha-18/b83d92e0fd6fd2a991db4f7a1e8a9acd to your computer and use it in GitHub Desktop.
DRF project entrypoint.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| echo "Running Database Migrations" | |
| python manage.py makemigrations | |
| python manage.py migrate | |
| echo "Running app1 management commands" | |
| python manage.py sample_management_command | |
| exec "$@" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment