From 4996181ebf1d94c101e5a2fb4cebaf2fa6cc4284 Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Sun, 26 Mar 2023 15:53:32 +0200 Subject: [PATCH] don't create an upfast-src directory --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 9a9c311..19946f1 100644 --- a/README.md +++ b/README.md @@ -17,10 +17,10 @@ sudo useradd --shell /bin/bash --system \ # Change to upfast user and cd /usr/local/upfast su upfast -cd /usr/local/upfast +cd # Clone the project directly into upfast-src directory -git clone https://code.cronyakatsuki.xyz/crony/upfast upfast-src +git clone https://code.cronyakatsuki.xyz/crony/upfast . # Create the virtual environment and load it for user on default python3 -m venv venv @@ -51,7 +51,7 @@ Documentation=https://code.cronyakatsuki.xyz/crony/upfast [Service] User=upfast Group=upfast -WorkingDirectory=/usr/local/upfast/upfast-src +WorkingDirectory=/usr/local/upfast/ ExecStart=/usr/local/upfast/venv/bin/uvicorn main:app --host 127.0.0.1 --port 8000 --proxy-headers --forwarded-allow-ips='*' Restart=on-failure ```