In this tutorial, we will guide you on how to install ERPNext on Alpine Linux latest distribution.
Before installing any software, it is always recommended to update and upgrade your system to avoid dependency issues.
sudo apk update && sudo apk upgrade
Next, you need to install essential dependencies for ERPNext as follows:
sudo apk add python3 python3-dev mariadb mariadb-client mariadb-dev py3-pip build-base libffi-dev libxml2-dev libxslt-dev libjpeg-turbo-dev
ERPNext requires NodeJS and NPM to run the web interface. You can install NodeJS and NPM as follows:
sudo apk add nodejs npm
You can install ERPNext by downloading the installation script from the official website and running it as follows:
sudo wget https://raw.githubusercontent.com/frappe/bench/develop/install.py
sudo python3 install.py --production --user frappe
Once you have installed ERPNext, you can setup it by running the following commands:
sudo su - frappe
cd ~/frappe-bench
bench get-app erpnext https://github.com/frappe/erpnext.git
bench new-site site1.local
bench install-app erpnext
You can start and enable ERPNext services using the following commands:
sudo systemctl start frappe-bench-redis
sudo systemctl start frappe-bench-web
sudo systemctl enable frappe-bench-redis
sudo systemctl enable frappe-bench-web
Now, you can access ERPNext web interface by visiting the following URL in your web browser:
http://your_ip:8000
In this tutorial, we have shown you how to install ERPNext on Alpine Linux using the production setup. You can now start using ERPNext to manage your business processes.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!