Демоверсия сайта: http://84.201.162.161
После выполнения push необходимо зайти на сервер$ ssh yc-user@<IP адрес>
git clone https://github.com/Chist-Sergey/foodgram-project-react
cd foodgram-project-react
DB_ENGINE=db
POSTGRES_DB=postgres
POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
DB_HOST=postgres
DB_PORT=postgres
https://docs.docker.com/engine/install/
docker-compose up -d --build
Shell
docker-compose exec backend python manage.py makemigrations users
Shell
docker-compose exec backend python manage.py makemigrations api
Shell
docker-compose exec backend python manage.py collectstatic --no-input
Shell
docker-compose exec backend python manage.py migrate --noinput
Shell
docker-compose exec backend python manage.py createsuperuser
Shell
docker-compose exec backend python manage.py loaddata fixtures/fixtures.json
Shell
https://hub.docker.com/repository/docker/Chist-Sergey/foodgram - dockerhub
http://84.201.162.161/ - облако