Skip to content

Commit 684eeb2

Browse files
committed
Update build.sh
1 parent 0dbb03b commit 684eeb2

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

build.sh

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,17 @@
22
# exit on error
33
set -o errexit
44

5-
python -m pip install --upgrade pip
5+
# Install & Execute WebPack
6+
npm i
7+
npm run build
68

9+
# Install modules
10+
python -m pip install --upgrade pip
711
pip install -r requirements.txt
812

13+
# Collect Static
914
python manage.py collectstatic --no-input
1015

16+
# Migrate DB
1117
python manage.py makemigrations
1218
python manage.py migrate
13-
npm run build

0 commit comments

Comments
 (0)