Steps for Installing ERPNext on Google Cloud Platform:
- Create Virtual Image - Select region & instance type. I'm using Ubuntu 20.04
- Login SSH
- Login as Root User
sudo -i
- Update Packages
sudo apt update && sudo apt upgrade --yes
- Add User
sudo adduser frappe
- Add your user to the Sudoers Group
sudo usermod -aG sudo frappe
- Login as User
su - frappe
- Install dependencies
export LC_ALL=C.UTF-8
- Install Prerequisites
wget [<https://raw.githubusercontent.com/frappe/bench/develop/install.py>](<https://raw.githubusercontent.com/frappe/bench/develop/install.py>)
- Install Frappe & ERPNext
sudo python3 [install.py](<http://install.py/>) --verbose --production --frappe-branch version-13 --erpnext-branch version-13 --user frappe
- During Step 10, you will need to create passwords for MariaDB & your Administrator
- Log in ERPNext installation by entering the IP address of your instance in the browser
- Login as Administrator & Setup your company
Steps for Getting SSL for your ERPNext installation using Certbot
- Point your domain to your IP address where ERP Next is installed by adding an “A record”
- Login SSH
- Login as User
su - frappe
- Set command to work from your bench directory
cd frappe-bench
- Add Custom domain to your ERPNext installation
bench setup add-domain <your domain name>
It will ask you to provide the name of the Site - the default site is “site1.local”