Skip to content

seventil/simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

simulator

Build with docker compose build

docker compose exec web python manage.py collectstatic docker compose exec web python manage.py makemigrations

To debug docker compose exec web python manage.py shell.

Run with docker compose up -d and check the local at http://localhost:8000/ check flower at http://localhost:5555/ Run with docker compose up -d --build --scale celery=5 to set up more workers.

To see the web container logs run docker-compose logs -f. To start the migrations run docker-compose exec web python manage.py migrate --noinput.

To peek into the postgres db run docker-compose exec db psql --username=hello_django --dbname=hello_django_dev. Or set up a connection in postgres gui app / vscode extension.

Used to be in entrypoint: python manage.py collectstatic --no-input --clear python manage.py flush --no-input

About

Practice of building a simple django app with a DB and Celery with docker.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published