How to install ERPNext

ERPNext is an ERP tools web based  with lot of features (accounting, stock, project,…)

Before start the installation

Check your ip address

$ ifconfig

Make an update / upgrade

$ sudo apt-get update

$ sudo apt-get upgrade

Installation

Install the requirement for python

$ sudo apt-get install python-minimal

$ sudo apt-get install build-essential python-setuptools

Download the easy installation script

$ wget https://raw.githubusercontent.com/frappe/bench/master/playbooks/install.py

Run the script

$ sudo python install.py –production

How to run the site in HTTPS, with let’s encrypt certificate

Log as frappe user

$ sudo su root

$ sudo su – frappe

Go to folder sites

$ cd frappe-bench/sites

$ mv site1.local erp.drawde.net

Modify

$ nano erp.drawde.net/site_config.json

$ cd ..

$ bench config dns_multitenant on

$ sudo -H bench setup lets-encrypt erp.drawde.net

Error to solved

When you go to the help on ERPNext, you have this error:

To avoid this, you need to migrate the bench framework. With this command:

$ bench –site erp.drawde.net migrate

 

For more details:

https://erpnext.org/

 

Laisser un commentaire

Votre adresse de messagerie ne sera pas publiée. Les champs obligatoires sont indiqués avec *