File tree Expand file tree Collapse file tree 1 file changed +10
-11
lines changed
Expand file tree Collapse file tree 1 file changed +10
-11
lines changed Original file line number Diff line number Diff line change 1414
1515- Django 5.0
1616- Python 3.12
17- - django-click
18- - Docker
1917- Docker Compose
18+ - django-click
2019- environs[ django]
20+ - pre-commit
2121- psycopg2-binary
2222- whitenoise
2323
2424### :green_heart : CI
2525
2626- django-test-plus
2727- model-bakery
28- - pre-commit
2928- pytest
3029- pytest-cov
3130- pytest-django
@@ -45,28 +44,28 @@ $ django-admin startproject \
4544
4645``` shell
4746# Build our Docker Image
48- $ docker compose build
47+ $ just build
4948
5049# Run Migrations
51- $ docker compose run --rm web python manage.py migrate
50+ $ docker compose run --rm utility python manage.py migrate
5251
5352# Create a Superuser in Django
54- $ docker compose run --rm web python manage.py createsuperuser
53+ $ docker compose run --rm utility python manage.py createsuperuser
5554
5655# Run Django on http://localhost:8000/
57- $ docker compose up
56+ $ just up
5857
5958# Run Django in background mode
60- $ docker compose up -d
59+ $ just start
6160
6261# Stop all running containers
63- $ docker compose down
62+ $ just down
6463
6564# Run Tests
66- $ docker compose run --rm web pytest
65+ $ just test
6766
6867# Re-build PIP requirements
69- $ docker compose run --rm web pip-compile requirements/requirements.in
68+ $ just lock
7069```
7170
7271## Author
You can’t perform that action at this time.
0 commit comments