Skip to content

Latest commit

 

History

History
39 lines (23 loc) · 746 Bytes

installation.rst

File metadata and controls

39 lines (23 loc) · 746 Bytes

Installation

Install PostgreSQL

$ sudo apt install postgresql

FastAPI

$ poetry install
$ cp instance/example.py instance/config.py

This will install FastAPI with its dependencies and SPADE.

$ poetry shell
$ uvicorn api.main:app
INFO:     Started server process [18716]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
INFO:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)

For production you can use Uvicorn. It's up to you.

You can visit the pages: