Skip to content

IOverflow/blueprint-py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

blueprint-py

Steps to run:

  • 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

Run with docker

  $ docker build -t  blueprint-image .
  $ docker run -d --name blueprint-container -p 8000:8000 blueprint-image

To create an user

  $ python console.py createuser --username <USERNAME> --password <PASSWORD>

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published