This is not for beginners. This is for people who wish to understand bench.
Following steps assume python 3, nodejs, yarn, mariadb, redis and other dependencies are manually installed
./setup-erpnext.sh
./env/bin/honcho start
Apply frappe specific config for mariadb. e.g. frappe.cnf
sudo systemctl start mariadb.service
./bench_helper new-site mysite.localhost --install-app erpnext
./bench_helper drop-site mysite.localhost
./env/bin/python production.py --help
./env/bin/python production.py
# Symlink supervisor.conf, example for Ubuntu, CentOS uses .ini file instead of .conf
sudo ln -s `pwd`/config/supervisor.conf /etc/supervisor/conf.d/benchless.conf
# Symlink nginx.conf
sudo ln -s `pwd`/config/nginx.conf /etc/nginx/conf.d/benchless.conf