Skip to content

Commit

Permalink
fix: python version to 9
Browse files Browse the repository at this point in the history
  • Loading branch information
yashsuhagiya committed Jan 8, 2024
1 parent ee670b9 commit f3e9904
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

# Build the project
echo "Building the project..."
python3.11 -m pip install -r requirements.txt
python3.9 -m pip install -r requirements.txt

echo "Make Migration..."
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
2 changes: 1 addition & 1 deletion vercel.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"use": "@vercel/python",
"config": {
"maxLambdaSize": "15mb",
"runtime": "python3.11"
"runtime": "python3.9"
}
},
{
Expand Down

0 comments on commit f3e9904

Please sign in to comment.