Skip to content

koshelevd/foodgram-project

Repository files navigation

YAMdb workflow

Foodgram project

Foodgram is a project about cooking, recipes and delicious food

Table of contents

Installing

You have to install Docker Desktop in order to run application.

Build containers for project:

$ docker-compose up

Create superuser

$ docker-compose exec web python manage.py createsuperuser

Load initial data to database

$ docker-compose run web python manage.py shell
>>> from django.contrib.contenttypes.models import ContentType
>>> ContentType.objects.all().delete()
>>> quit()
$ docker-compose run web python manage.py loaddata fixtures/fixtures.json

Visit deployed project:

http://foodgram.koshelev.net