Skip to content

Latest commit

 

History

History
64 lines (45 loc) · 983 Bytes

README.md

File metadata and controls

64 lines (45 loc) · 983 Bytes

Yala API

Code style: black

Installation

Requirements

  • python>=3.9.18 (create a new virtual environment called venv)
  • docker
  • docker compose (we are using docker compose instead of docker-compose)
  • At least 4 GB dedicated RAM for docker
  • We are used to use PyCharm, but it's not mandatory

Set the virtual env

$ python -m venv venv

Install requirements

$ make install

Build docker image

$ make build

Start services

$ make start

Run migrations

$ make migrate

Create super user

Enter super user creds after running:

$ make createsuperuser

Now, you should be able to go to admin with you super user creds


Linting

$ make lint

Remove docker containers

$ make stop