Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions deploy_prod.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ uv sync
cd pythonkr_backend
export DJANGO_SETTINGS_MODULE="pythonkr_backend.settings.prod"
./manage.py migrate --no-input
./manage.py tailwind build
./manage.py loaddata fixtures.json
./manage.py collectstatic --clear --noinput
gunicorn --workers=2 \
Expand Down
1 change: 1 addition & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ cd /app/pythonkr_backend
export DJANGO_SETTINGS_MODULE="pythonkr_backend.settings.localtesting"
./manage.py migrate --no-input
./manage.py tailwind build
./manage.py loaddata fixtures.json
./manage.py collectstatic --clear --noinput
export DJANGO_SUPERUSER_PASSWORD=test
./manage.py createsuperuser --username test --email [email protected] --noinput
Expand Down
7 changes: 7 additions & 0 deletions pythonkr_backend/fixtures.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@
"name": "Root"
}
},
{
"model": "wagtailcore.locale",
"pk": 1,
"fields": {
"language_code": "en"
}
},
{
"model": "wagtailcore.page",
"pk": 1,
Expand Down