Add uvicorn, update readme

Signed-off-by: Odyssey <hi@odyssey346.dev>
This commit is contained in:
Odyssey
2023-04-03 22:22:21 +02:00
parent 6c88de4aa4
commit c1af6613a7
2 changed files with 6 additions and 6 deletions
+5 -6
View File
@@ -1,6 +1,6 @@
# RandomInstance
A [Pode](https://badgerati.github.io/Pode)-based backend for [GotHub's website](https://gothub.app) to power the random instance feature.
A [FastAPI](https://fastapi.tiangolo.com)-based backend for [GotHub's website](https://gothub.app) to power the random instance feature.
## Setup
@@ -16,14 +16,13 @@ Okay, you want to do it manually? sure.
### Requirements
- [Pode](https://badgerati.github.io/Pode)
- PowerShell
- [Python 3.8+](https://www.python.org/downloads/)
### Running
```powershell
# Clone the repo
```bash
git clone https://codeberg.org/gothub/randominstance.git
cd randominstance
.\server.ps1
pip install -r requirements.txt
uvicorn main:app --reload
```
+1
View File
@@ -1,2 +1,3 @@
fastapi==0.95.0
requests==2.28.2
uvicorn==0.21.1