mirror of
https://github.com/frappe/bench.git
synced 2025-01-22 22:58:31 +00:00
Installation
Easy way
Supported for CentOS 6, Debian 7 and Ubuntu 12.04+
curl https://https://raw.githubusercontent.com/frappe/bench/master/install_scripts/setup_frappe.sh | bash
This script should install the pre-requisites and add a bench command.
Hard Way
Install pre-requisites,
* Python 2.7
* MariaDB
* Redis
Install bench,
`sudo pip install git+https://github.com/frappe/bench`
Usage
-
Create a new bench
bench init erpnext-bench && cd erpnext-bench
-
Add apps
bench get-app erpnext https://github.com/frappe/erpenxt
-
Add site
bench new-site site1.local
-
Serve site
bench frappe --serve
Languages
Python
95%
HTML
2.1%
Jinja
1.9%
Shell
0.6%
Procfile
0.4%