Skip to content
This repository has been archived by the owner on Aug 21, 2022. It is now read-only.

Update pre-start.sh #132

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions pre-start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ fi;
for dir in apps/*/migrations; do touch "$dir/__init__.py"; done;

echo "===pip install========="
python -m pip --cache-dir=.pip install -r requirements.txt;
python3 -m pip --cache-dir=.pip install -r requirements.txt;
echo "=====drop db==========="
python manage.py reset_db -c --noinput;
python3 manage.py reset_db -c --noinput;
echo "=====makemigrations====="
python manage.py makemigrations;
python3 manage.py makemigrations;