mirror of
https://codeberg.org/gothub/RandomInstance
synced 2024-12-06 19:16:49 +01:00
e245ce3106c1089615aaf69d7e0844cd9ff24cbc
RandomInstance
A FastAPI-based backend for GotHub's website to power the random instance feature.
Setup
We use Docker for deploying this, so you can just run the following command to get it up and running:
docker run -d -p 8080:8080 --name random-instance codeberg.org/gothub/randominstance
Manual
Okay, you want to do it manually? sure.
Requirements
Running
git clone https://codeberg.org/gothub/randominstance.git
cd randominstance
pip install -r requirements.txt
uvicorn main:app --reload
Description
Languages
Python
83.6%
Dockerfile
16.4%