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