Skip to content

Commit 984639c

Browse files
authored
Merge pull request #21 from lqez/main
Fix problems about fixtures
2 parents a39df46 + e48b95f commit 984639c

File tree

4 files changed

+271
-38
lines changed

4 files changed

+271
-38
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ $ docker-compose up
2020
$ source .venv/bin/activate
2121
$ cd pythonkr_backend
2222
$ python manage.py migrate
23+
$ python manage.py loaddata fixtures.json
2324
$ python manage.py runserver
2425
```
2526

deploy_prod.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +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
32+
./manage.py loaddata fixtures.json
3333
./manage.py collectstatic --clear --noinput
3434
gunicorn --workers=2 \
3535
-b :2026 \

pythonkr_backend/fixtures.json

Lines changed: 269 additions & 0 deletions
Large diffs are not rendered by default.

pythonkr_backend/pythonkr/fixtures/pythonkr.json

Lines changed: 0 additions & 37 deletions
This file was deleted.

0 commit comments

Comments
 (0)