Skip to content

Commit e673d70

Browse files
authored
Merge pull request #22 from lqez/main
fixes
2 parents 970dacd + 1b06958 commit e673d70

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-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 tailwind build
3233
./manage.py loaddata fixtures.json
3334
./manage.py collectstatic --clear --noinput
3435
gunicorn --workers=2 \

entrypoint.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ cd /app/pythonkr_backend
88
export DJANGO_SETTINGS_MODULE="pythonkr_backend.settings.localtesting"
99
./manage.py migrate --no-input
1010
./manage.py tailwind build
11+
./manage.py loaddata fixtures.json
1112
./manage.py collectstatic --clear --noinput
1213
export DJANGO_SUPERUSER_PASSWORD=test
1314
./manage.py createsuperuser --username test --email [email protected] --noinput

pythonkr_backend/fixtures.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,13 @@
99
"name": "Root"
1010
}
1111
},
12+
{
13+
"model": "wagtailcore.locale",
14+
"pk": 1,
15+
"fields": {
16+
"language_code": "en"
17+
}
18+
},
1219
{
1320
"model": "wagtailcore.page",
1421
"pk": 1,

0 commit comments

Comments
 (0)