#API_YaMDB
It's api for my learning project.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
What things you need to install the software and how to install them
A step by step series of examples that tell you have to get a development env running
Environment variables what you need are in .env
file, but you need to add POSTGRES_PASSWORD
Put they to .env and set yours values
Say what the step will be
$ docker compose up
$ docker exec -it <CONTAINER ID> bash
Collect static to STATIC_ROOT
$ python manage.py collectstatic
Migrate to database
$ python manage.py migrate
Create superuser
$ python manage.py createsuperuser
Example of initializing start data
$ python manage.py loaddata fixtures.json
Use pytest
Tests check settings of Django, dockerfile, docker-compose ane requirements
Aleksei Libman - Initial work - (https://github.com/lexlibman)
This project is licensed under the BSD 3 - see the LICENSE.md file for details
Yandex.Praktikum