Skip to content

Latest commit

 

History

History
38 lines (34 loc) · 1009 Bytes

README.md

File metadata and controls

38 lines (34 loc) · 1009 Bytes

Metrikgile API

Requiremets

Setting Up

  1. Install project dependencies by running:
pipenv install --dev
  1. Run a postgres container for the application database:
docker run --name db-metrikgile -e POSTGRES_PASSWORD=root -p 5432:5432 -d postgres
  1. Access the virtual environment:
pipenv shell
  1. Already inside the virtual environment make the migrations:
./manage.py makemigrations
  1. Migrate the database:
./manage.py migrate

Running the application

After complete the Setting Up steps, run the application with:

./manage.py runserver