mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-02-04 05:39:04 +01:00
update to python venv
This commit is contained in:
@@ -896,10 +896,10 @@ if [[ $DEV == "ON" ]] ; then
|
||||
#install dev branch
|
||||
#wget https://raw.githubusercontent.com/usmannasir/cyberpanel/$BRANCH_NAME/requirments.txt
|
||||
cd /usr/local/
|
||||
python3.6 -m venv CyberPanel
|
||||
virtualenv -p /usr/bin/python3 CyberPanel
|
||||
source /usr/local/CyberPanel/bin/activate
|
||||
wget -O requirements.txt https://raw.githubusercontent.com/usmannasir/cyberpanel/$BRANCH_NAME/requirments.txt
|
||||
pip3.6 install --ignore-installed -r requirements.txt
|
||||
pip install --ignore-installed -r requirements.txt
|
||||
cd -
|
||||
fi
|
||||
|
||||
@@ -953,10 +953,10 @@ fi
|
||||
if grep "CyberPanel installation successfully completed" /var/log/installLogs.txt > /dev/null; then
|
||||
|
||||
if [[ $DEV == "ON" ]] ; then
|
||||
python3.6 -m venv /usr/local/CyberCP
|
||||
virtualenv -p /usr/bin/python3 /usr/local/CyberCP
|
||||
source /usr/local/CyberCP/bin/activate
|
||||
wget -O requirements.txt https://raw.githubusercontent.com/usmannasir/cyberpanel/$BRANCH_NAME/requirments.txt
|
||||
pip3.6 install --ignore-installed -r requirements.txt
|
||||
pip install --ignore-installed -r requirements.txt
|
||||
systemctl restart lscpd
|
||||
fi
|
||||
|
||||
|
||||
@@ -1556,7 +1556,7 @@ imap_folder_list_limit = 0
|
||||
|
||||
os.chdir("wsgi-lsapi-1.4")
|
||||
|
||||
command = "python ./configure.py"
|
||||
command = "/usr/local/CyberPanel/bin/python ./configure.py"
|
||||
preFlightsChecks.call(command, self.distro, command, command, 1, 0, os.EX_OSERR)
|
||||
|
||||
command = "make"
|
||||
|
||||
Reference in New Issue
Block a user