Skip to content

Commit af66fa5

Browse files
author
Gowthaman D
committed
vercel set up
1 parent ba750ec commit af66fa5

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

build_files.sh

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,15 @@
1-
python3.9 install -r requirements.txt
2-
python3.9 manage.py collectstatic --noinput
1+
echo "BUILD START"
2+
3+
# create a virtual environment named 'venv' if it doesn't already exist
4+
python3.9 -m venv venv
5+
6+
# activate the virtual environment
7+
source venv/bin/activate
8+
9+
# install all deps in the venv
10+
pip install -r requirements.txt
11+
12+
# collect static files using the Python interpreter from venv
13+
python manage.py collectstatic --noinput
14+
15+
echo "BUILD END"

0 commit comments

Comments
 (0)