renamed venv to env

This commit is contained in:
Raymaekers Luca 2023-04-04 18:46:26 +02:00
parent 8d1ee70948
commit 7c593f2fc2
2 changed files with 4 additions and 4 deletions

2
.gitignore vendored
View File

@ -1,3 +1,3 @@
__pycache__
upload
venv
env

View File

@ -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.