Skip to content

Erfiiii/Performance-Review-Backend

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Performance Review

Development

  • Install pyenv
  • Install python 3.6.9 pyenv install 3.6.9
  • Create python virtual environment named pr pyenv virtualenv 3.6.9 pr
  • Install poetry
  • Install dependencies poetry install
  • Create .env based on the given sample.env in root and in docker/development
  • Run docker compose file at docker/development to create PostgreSQL container docker-compose up -d

Deployment

Prepare

Create .env based on the given sample.env in root and in docker/development.

Run

cd docker/production/
docker-compose up -d

Migrations

cd docker/production/
docker-compose run api python manage.py migrate

Create superuser

cd docker/production/
docker-compose run api python manage.py createsuperuser

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 97.0%
  • Shell 1.7%
  • Other 1.3%