Skip to content

Latest commit

 

History

History
40 lines (34 loc) · 630 Bytes

File metadata and controls

40 lines (34 loc) · 630 Bytes

LawBot - Backend

1. environtment

  • FastAPI
  • python 3.8.x (tested on 3.8.5)

2. install

  • Create your own virtual envorionment.
$ pip install virtualenv
$ virtualenv <your-virtual-env-name>
$ source <your-virtual-env-name>/bin/activate
  • Install modules on your virtual environment.
$ pip install -r requirements.txt

3. Execute

Model Server

$ cd app
$ uvicorn main:app --host=0.0.0.0 --reload

Test

$ pytest

Airflow

$ cd airflow
$ airflow db init
$ airflow scheduler

4. Document

  1. Execute server(local)
  2. Goto http://localhost:8000/docs