Robohashes are now served from https://robots.adventofquorum.org
!
You need Python 3.x installed.
Setup a new Python Virtual Env in this folder (keeps us from contaminating global Python)
cd backend
python -m venv venv
Activate the Virtual Environment
# Windows
venv\scripts\activate
# Mac / Linux
. venv/bin/activate
Install dependencies for this application
# Windows
pip install -r backend\requirements.txt
# Mac / Linux
pip install -r backend/requirements
Run it
cd backend
uvicorn app.main:app --reload
Check out the Swagger page: http://localhost:8000/docs/
A new empty SQLITE database is created on startup.
Install a recent version of Node
cd frontend
npm install
cd frontend
npm start
See setupProxy.js
for code that pushes /api requests through to the development server.
- Modify settings in
.env
docker-compose up --build
- Hide it behind some sort of TLS thing