Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 612 Bytes

README.md

File metadata and controls

22 lines (16 loc) · 612 Bytes
# Run linting
dc run --rm app sh -c "flake8"

# Run tests
dc run --rm app sh -c "python manage.py test"

#Install sub project
dc run --rm app sh -c "django-admin startproject app ."

#Install core project
docker-compose run --rm app sh -c "python manage.py startapp recipe"

#Create superuser
docker-compose run --rm app sh -c "python manage.py createsuperuser"

#Work with migrations
docker-compose run --rm app sh -c "python manage.py migrate"
docker-compose run --rm app sh -c "python manage.py makemigrations"
docker-compose run --rm app sh -c "python manage.py showmigrations"