Skip to content

Commit

Permalink
fix: change python version
Browse files Browse the repository at this point in the history
  • Loading branch information
catherineeangel committed Feb 23, 2024
1 parent 95d67b6 commit 6ff1400
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#!/bin/bash

echo "Installing all requirements"
python3.11 -m pip install -r requirements.txt
python3.9 -m pip install -r requirements.txt

echo "Migrating"
python3.11 manage.py makemigrations --noinput
python3.11 manage.py migrate --noinput
python3.9 manage.py makemigrations --noinput
python3.9 manage.py migrate --noinput

echo "Collect Static"
python3.11 manage.py collectstatic --noinput --clear
python3.9 manage.py collectstatic --noinput --clear

0 comments on commit 6ff1400

Please sign in to comment.