File tree 2 files changed +5
-6
lines changed
2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
3
echo " Installing dependencies..."
4
- python3.9 -m pip install -r requirements.txt
4
+ python3 -m pip install -r requirements.txt
5
5
echo " Successfully installed dependencies."
6
6
7
7
echo " Running database migrations..."
8
8
echo " Migrating database..."
9
- python3.9 manage.py migrate --noinput
9
+ python3 manage.py migrate --noinput
10
10
echo " Database migrated."
11
11
12
12
echo " Creating superuser..."
13
13
DJANGO_SUPERUSER_EMAIL=${DJANGO_SUPERUSER_EMAIL}
14
14
DJANGO_SUPERUSER_USERNAME=${DJANGO_SUPERUSER_USERNAME}
15
15
DJANGO_SUPERUSER_PASSWORD=${DJANGO_SUPERUSER_PASSWORD}
16
- python3.9 manage.py createsuperuser \
16
+ python3 manage.py createsuperuser \
17
17
--email $DJANGO_SUPERUSER_EMAIL \
18
18
--username $DJANGO_SUPERUSER_USERNAME \
19
19
--noinput || true
20
20
echo " Superuser created. If it already exists, this is ignored."
21
21
22
22
echo " Collecting static files..."
23
- python3.9 manage.py collectstatic --noinput
23
+ python3 manage.py collectstatic --noinput
24
24
echo " Static files collected successfully."
Original file line number Diff line number Diff line change 3
3
"builds" : [
4
4
{
5
5
"src" : " app.py" ,
6
- "use" : " @vercel/python" ,
7
- "config" : { "maxLambdaSize" : " 15mb" , "runtime" : " python3.9" }
6
+ "use" : " @vercel/python"
8
7
},
9
8
{
10
9
"src" : " build.sh" ,
You can’t perform that action at this time.
0 commit comments