Skip to content

Latest commit

 

History

History
62 lines (45 loc) · 2 KB

README.md

File metadata and controls

62 lines (45 loc) · 2 KB

CRM Prototype on FastAPI

Watchers Forks Stars

Deployment Linux

  1. Setup poetry and install requirements (poetry install)
  2. Rename .env.dist to .env and configure it
  3. Run virtual env with poetry shell command
  4. Run database migrations with make migrate command
  5. Run make createsuperuser to create superuser
  6. Run server uvicorn main:app --host 0.0.0.0 --port 80

Deployment via Docker

  • Run docker-compose up --build

Migrations

Make migration script:

make migration message=YOUR_MIGRATION_MESSAGE_HERE

Run migrations:

make migrate

Running Tests

To run tests, run the following command

pytest tests

Used Technologies

Demo

demo demo

Authors