Created
February 17, 2022 15:18
-
-
Save anirudhdggl/c7bcaf9f85913fdc1541815e4ff5694c to your computer and use it in GitHub Desktop.
This script sets up erpnext v12 and then updates it to v13
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get update -y && sudo apt-get upgrade -y < /dev/null | |
sudo apt-get install python3 python3-setuptools python3-pip -y < /dev/null | |
wget https://raw.githubusercontent.com/frappe/bench/master/playbooks/install.py | |
pip3 install setuptools_rust | |
pip3 install --upgrade pip | |
sudo python3 -m pip install --upgrade cryptography | |
sudo -H python3 -m pip install --upgrade setuptools ansible==2.8.5 pip | |
export LC_ALL=C.UTF-8 | |
sudo python3 install.py --production --user erpuser | |
sudo apt update -y && sudo apt upgrade -y < /dev/null | |
curl -fsSL https://deb.nodesource.com/setup_10.x 204 | sudo -E bash - | |
sudo apt-get install -y nodejs < /dev/null | |
sudo npm install -g npm | |
sudo npm install -g yarn | |
sudo -H pip3 install --upgrade frappe-bench | |
cd /home/erpuser/frappe-bench/ | |
bench setup requirements | |
bench update | |
bench switch-to-branch version-13 frappe erpnext --upgrade | |
sudo service nginx restart | |
sudo supervisorctl reload | |
bench update --patch | |
sudo systemctl start supervisor | |
sudo systemctl enable supervisor | |
sudo bench setup production erpuser | |
bench update | |
bench build | |
sudo supervisroctl restart all |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment