Frappe Zeug

install ERPNext

# create Python virtualenv for Frappe
python3 -m venv /var/www/html/python_frappe
cd /var/www/html/python_frappe/
# activate the Python virtualenv
source bin/activate
# from now you are in a Python virtualenv

# install Frappe-Bench
pip install frappe-bench

# initialisiere ein Frappe Bench Verzeichnis
# frappe und ERPNext müssen die gleiche Version haben
bench init --frappe-branch version-15 /var/www/html/frappe-bench

cd /var/www/html/frappe-bench
bench find . # check if it is bench
bench get-app --branch version-15 erpnext
bench new-site erpnext.lan # benötigt MariaDB root Passwort
bench --site erpnext.lan install-app erpnext
bench start
# Frappe is now running on port 8000
# /etc/hosts with "127.0.0.1 erpnext.lan"
# in a browser http://erpnext.lan:8000
# user: Administrator
# passwd: admin

post install

# /etc/mysql/my.ncf
# frappe
[mysqld]
character-set-client-handshake = FALSE
character-set-server = utf8mb4
collation-server = utf8mb4_unicode_ci

[mysql]
default-character-set = utf8mb4
# Administrator Passwort setzen (default=admin)
bench --site [sitename] set-admin-password [password]