From c1af6613a7411fbe643e1ba29a2113149c930f5a Mon Sep 17 00:00:00 2001 From: Odyssey Date: Mon, 3 Apr 2023 22:22:21 +0200 Subject: [PATCH] Add uvicorn, update readme Signed-off-by: Odyssey --- readme.md | 11 +++++------ requirements.txt | 1 + 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/readme.md b/readme.md index 527a438..3b14028 100644 --- a/readme.md +++ b/readme.md @@ -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 ``` \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index 95b163c..16e0659 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,3 @@ fastapi==0.95.0 requests==2.28.2 +uvicorn==0.21.1 \ No newline at end of file