forked from crony/UpFast
grouped python commands in readme
This commit is contained in:
parent
4bbed56600
commit
267e10ea5a
@ -24,15 +24,14 @@ git clone https://code.cronyakatsuki.xyz/crony/upfast upfast-src
|
|||||||
|
|
||||||
# Create the virtual environment and load it for user on default
|
# Create the virtual environment and load it for user on default
|
||||||
python3 -m venv venv
|
python3 -m venv venv
|
||||||
echo "source /usr/local/upfast/venv/bin/activate" > "/usr/local/upfast/.profile"
|
|
||||||
|
|
||||||
# Activate the virtual environment
|
# Activate the virtual environment
|
||||||
source venv/bin/activate
|
source venv/bin/activate
|
||||||
|
|
||||||
# Install all the requirements
|
# Install all the requirements
|
||||||
cd upfast-src/
|
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
|
|
||||||
|
# Activate environment by default
|
||||||
|
echo "source /usr/local/upfast/venv/bin/activate" > "/usr/local/upfast/.profile"
|
||||||
|
|
||||||
# create the upload directory
|
# create the upload directory
|
||||||
mkdir upload
|
mkdir upload
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user