Samiran

Samiran

Move bench site to different server

On old server bench –site [sitename] backup –with-files Download files from ./sites/[sitename]/private/backups/ Also make copy of site_config.json of the old server site to retrieve the encryption key On new server Create new site and install erpnext sudo mkdir /tmp/old_server_filessudo chown…

Enable Multi-tenant on ERPNext

cd /home/frappe/frappe-bench/ sudo bench config dns_multitenant on sudo bench setup add-domain –site site1.local [my.newsite.name] sudo bench new-site site2name sudo bench –site site2name enable-scheduler sudo bench –site [sitename] install-app erpnext sudo bench setup nginx sudo service nginx reload Source:

Install ERP Next on AWS EC2

sudo apt-get update sudo apt-get upgrade -y sudo apt-get install python-minimal -y sudo apt-get install build-essential python-setuptools -y sudo wget export LC_ALL=C.UTF-8 sudo python install.py –production –user frappe –admin-password [adminpass] –mysql-root-password [mysqlpass] Replace [adminpass] with your password to login…