IMT-Atlantique-FIP2021 / fiowebviewer-backend

0 stars 0 forks source link

FLEX Flexible I/O Explorer
Backend repository

FastAPI pre-commit Code style: black

Screenshots

Dashboard Backend

Development environment setup

$ sudo apt-get install python3 python3-venv
$ python3 -m venv venv
$ source venv/bin/activate
$ pip install -r requirements.txt -r requirements-dev.txt
$ pre-commit install
$ docker-compose up -d
$ cp .env.sample .env
$ uvicorn --host 0.0.0.0 --port 8080 --env-file .env --reload --debug --app-dir backend/ main:app

Production environment usage

TODO... (docker related)

Notes