Skip to content

Commit 3264bb6

Browse files
committed
Fix for django-tailwind
1 parent 7a6024a commit 3264bb6

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

deploy_prod.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,12 @@ mkdir -p ${LOG_DIR}
2424

2525
# update changes before update
2626
# git pull
27-
npm install
2827
source .venv/bin/activate
2928
uv sync
3029
cd pythonkr_backend
3130
export DJANGO_SETTINGS_MODULE="pythonkr_backend.settings.prod"
3231
./manage.py migrate --no-input
33-
./manage.py tailwind build
32+
./manage.py tailwind install && ./manage.py tailwind build
3433
./manage.py loaddata fixtures.json
3534
./manage.py collectstatic --clear --noinput
3635
gunicorn --workers=2 \

entrypoint.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,12 @@
22

33

44
cd /app
5-
npm install
65
source .venv/bin/activate
76
uv sync
87
cd /app/pythonkr_backend
98
export DJANGO_SETTINGS_MODULE="pythonkr_backend.settings.localtesting"
109
./manage.py migrate --no-input
11-
./manage.py tailwind build
10+
./manage.py tailwind install && ./manage.py tailwind build
1211
./manage.py loaddata fixtures.json
1312
./manage.py collectstatic --clear --noinput
1413
export DJANGO_SUPERUSER_PASSWORD=test

0 commit comments

Comments
 (0)