ERPNext is a modern, easy-to-use, free, business system used by more than three thousand enterprises. ERPNext has everything you need to run your business, and make it better.

While looking for a free ERP software to run a very small business, I decided to try to install ERP Next on my local machine to test.

1. Pre install requirements

The following were already installed:

  • curl
  • wget
  • ansible
  • python3
  • npm
  • apache
  • MariaDB

2. Install Frappe Bench

The easy install script was used at;
https://github.com/frappe/bench/blob/master/docs/easy_install.md The install script used was:

sudo python3 install.py --develop --user [frappe-user]

Before starting Bench a site was added with the ERPNext app with the following:

cd ~/frappe-bench
bench new-site erp.example.local
bench --site erp.example.local install-app erpnext

The 'bench start' command failed with errors. After doing the following:

bench setup requirements --node

The errors indicated that the version of nodejs was not high enough, needed to be >=8.2.1
While logged on as the [frappe-bench] user I did the following to install nvm - this installs the correct nodejs version:

curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash

After closing and reopening the terminal:

nvm install 8.2.1

The following was then done to clean up and fix bench:

cd ~/frappe-bench
sudo npm install -g yarn
bench setup requirements --node
bench update --requirements
bench setup socketio
bench build
bench update
bench --site site-name set-maintenance-mode off

After running 'bench start' and going to the localhost:8000 page in a browser everything worked as advertised