We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba750ec commit af66fa5Copy full SHA for af66fa5
build_files.sh
@@ -1,2 +1,15 @@
1
-python3.9 install -r requirements.txt
2
-python3.9 manage.py collectstatic --noinput
+echo "BUILD START"
+
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