Skip to content

Instantly share code, notes, and snippets.

@payamomrani
Created November 26, 2019 19:48
Show Gist options
  • Save payamomrani/09bb2dbc10909137dcf45d6a4c98900d to your computer and use it in GitHub Desktop.
Save payamomrani/09bb2dbc10909137dcf45d6a4c98900d to your computer and use it in GitHub Desktop.
cd /usr/local
cp CyberCP/CyberCP/settings.py settings.py
rm -rf CyberCP
git clone --single-branch -b v1.7-dev https://github.com/usmannasir/cyberpanel
mv cyberpanel CyberCP
cp settings.py CyberCP/CyberCP
virtualenv --system-site-packages /usr/local/CyberCP
source CyberCP/bin/activate
pip install --ignore-installed -r CyberCP/requirments.txt
deactivate
virtualenv --system-site-packages /usr/local/CyberCP
systemctl restart gunicorn.socket
rm -rf lscp/cyberpanel/static
mv CyberCP/static lscp/cyberpanel/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment