Skip to content

Commit 3212646

Browse files
committed
Add loaddata command for loading fixtures on deploying
1 parent 95bddf3 commit 3212646

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

deploy_prod.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ uv sync
2929
cd pythonkr_backend
3030
export DJANGO_SETTINGS_MODULE="pythonkr_backend.settings.prod"
3131
./manage.py migrate --no-input
32+
./manage.py loaddata pythonkr/fixtures/pythonkr.json
3233
./manage.py collectstatic --clear --noinput
3334
gunicorn --workers=2 \
3435
-b :2026 \

0 commit comments

Comments
 (0)