- clone repository
- poetry install
- poetry shell
- python wsgi.py
SECRET_KEY=secret_key
APP_SETTINGS=app.config.DevelopmentConfig
SQLALCHEMY_DATABASE_URI=postgresql://postgres:123@db:5432/films_rest_api
FILMS_PER_PAGE=10
ADMIN_PASSWORD=123 # is the password of general user, that will be created after make init_db
- poetry install
- make build
- make start
- make init_db
- make remove
- make test_app
- make seed_db
- make logs
- make migrate_db
- make upgrade_db
- make stop
- sudo rm -rf ./pg_data
- sudo docker-compose up -d --no-deps --build db
- make start
- make init_db