mirror of
https://github.com/frappe/bench.git
synced 2024-11-16 18:15:16 +00:00
Add readme, first cut
This commit is contained in:
parent
418452f775
commit
37ea7bf38e
41
README.md
Normal file
41
README.md
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
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`
|
Loading…
Reference in New Issue
Block a user