From 7c593f2fc221dd2862e43954fee911ae6d2bea3a Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Tue, 4 Apr 2023 18:46:26 +0200 Subject: [PATCH] renamed venv to env --- .gitignore | 2 +- README.md | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 4822f1c..0266622 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ __pycache__ upload -venv +env diff --git a/README.md b/README.md index 134d08b..a4a48a7 100644 --- a/README.md +++ b/README.md @@ -23,9 +23,9 @@ cd git clone https://code.cronyakatsuki.xyz/crony/upfast . # Create the virtual environment and load it for user on default -python3 -m venv venv +python3 -m venv env # Activate the virtual environment -source venv/bin/activate +source env/bin/activate # Install all the requirements pip install -r requirements.txt @@ -52,7 +52,7 @@ Documentation=https://code.cronyakatsuki.xyz/crony/upfast User=upfast Group=upfast 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='*' +ExecStart=/usr/local/upfast/env/bin/uvicorn main:app --host 127.0.0.1 --port 8000 --proxy-headers --forwarded-allow-ips='*' Restart=on-failure ``` Finally run following commmands.