Skip to content

Latest commit

 

History

History
45 lines (37 loc) · 937 Bytes

README.md

File metadata and controls

45 lines (37 loc) · 937 Bytes

NOREBASE CHALLENGE API

alt text

How to run locally

  • Download this repo or run:
    $ git clone [email protected]:kayprogrammer/norebase-challenge.git

In the root directory:

  • Install all dependencies
    $ pip install -r requirements.txt
  • Create an .env file and copy the contents from the .env.example to the file and set the respective values. A postgres database can be created with PG ADMIN or psql

  • Run Locally

    $ alembic upgrade heads 
    $ uvicorn app.main:app --reload
  • Run With Docker
    $ docker-compose up --build -d --remove-orphans

OR

    $ make build
  • Test Coverage
    $ pytest --disable-warnings -vv

OR

    $ make test