Skip to content

Commit 61673ce

Browse files
committed
Updated: python3 in vercel files
1 parent 1d27013 commit 61673ce

File tree

2 files changed

+7
-10
lines changed

2 files changed

+7
-10
lines changed

build.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
#!/bin/bash
22

33
echo "Upgrade pip..."
4-
python3.9 -m pip install --upgrade pip
4+
python3 -m pip install --upgrade pip
55

66
echo "Installing dependencies..."
7-
python3.9 -m pip install -r requirements.txt
7+
python3 -m pip install -r requirements.txt
88

99
# echo "Migrating database..."
10-
# python3.9 manage.py makemigrations --noinput
11-
# python3.9 manage.py migrate --noinput
10+
# python3 manage.py makemigrations --noinput
11+
# python3 manage.py migrate --noinput
1212

1313
# echo "Creating superuser..."
1414

1515
# DJANGO_SUPERUSER_EMAIL=${DJANGO_SUPERUSER_EMAIL}
1616
# DJANGO_SUPERUSER_USERNAME=${DJANGO_SUPERUSER_USERNAME}
1717
# DJANGO_SUPERUSER_PASSWORD=${DJANGO_SUPERUSER_PASSWORD}
1818

19-
# python3.9 manage.py createsuperuser \
19+
# python3 manage.py createsuperuser \
2020
# --email $DJANGO_SUPERUSER_EMAIL \
2121
# --noinput || true
2222

@@ -27,4 +27,4 @@ echo "Running npm Production..."
2727
pnpm collect
2828

2929
echo "Collecting static files..."
30-
python3.9 src/manage.py collectstatic --noinput --clear
30+
python3 src/manage.py collectstatic --noinput --clear

vercel.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,7 @@
33
"builds": [
44
{
55
"src": "main.py",
6-
"use": "@vercel/python",
7-
"config": {
8-
"runtime": "python3.9"
9-
}
6+
"use": "@vercel/python"
107
},
118
{
129
"src": "build.sh",

0 commit comments

Comments
 (0)