Skip to content

Latest commit

 

History

60 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Foodgram

foodgram_workflow.yml

project creation and processing of culinary recipes and free exchange of them

-Install and run services in docker-compose environment
git clone ...
cd foodgram-project-react/infra
touch .env

For example: .env

DB_ENGINE=django.db.backends.postgresql
DB_NAME=postgres
POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
DB_HOST=db
DB_PORT=5432

sudo docker-compose up -d --build

-Install requirements and load initial
sudo docker-compose exec backend python manage.py migrate
sudo docker-compose exec backend python manage.py collectstatic --no-input
sudo docker-compose exec backend python manage.py load_all_data
sudo docker-compose exec backend python manage.py createsuperuser
-Admin connection for initial load dictionaries

http://<You address>/admin/
-Normal connection for work

http://<You address>

For example:

login/pass=serjb73@yandex.ru/admin

http://51.250.99.180/admin/

login/pass=tester1@tester1.ru/tester1

http://51.250.99.180/

Authors

idea - https://practicum.yandex.ru

frondend - https://practicum.yandex.ru

backend - Sergey Birukov

About

Foodgram project template

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages