ryuliantoro / benchless

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 Frappe/ERPNext Environment

./setup-erpnext.sh

Start processes

./env/bin/honcho start

Start mariadb

Apply frappe specific config for mariadb. e.g. frappe.cnf

sudo systemctl start mariadb.service

Create new site

./bench_helper new-site mysite.localhost --install-app erpnext

Drop site

./bench_helper drop-site mysite.localhost

Production

./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

About

License:Other


Languages

Language:Python 67.3%Language:Shell 32.7%