-
Install and setup a local MongoDB instance. See https://docs.mongodb.com/manual/installation/
-
Install Python 3.9+
$ git clone https://github.com/IOverflow/blueprint-py.git
$ cd blueprint-py
-
Create a virtual environment for the project
$ python -m venv .
-
Install dependencies
$ source venv/bin/activate $ pip install -r requirements.txt
-
Run backend
$ uvicorn src.main:api --reload
$ docker build -t blueprint-image .
$ docker run -d --name blueprint-container -p 8000:8000 blueprint-image
$ python console.py createuser --username <USERNAME> --password <PASSWORD>