2
0
mirror of https://github.com/frappe/bench.git synced 2025-01-10 00:37:51 +00:00

[fix] readme

This commit is contained in:
Rushabh Mehta 2016-10-13 12:58:07 +05:30
parent b07de2683a
commit 4c30071bcb
2 changed files with 12 additions and 6 deletions

View File

@ -15,7 +15,7 @@ Easy Setup
- This is an opinionated setup with logging and SE Linux. So, it is best to setup on a blank server.
- Works on Ubuntu 14.04 to 16.04, CentOS 7+, Debian 7 to 8 and MacOS X.
- You may have to install Python 2.7 (eg on Ubuntu 16.04+) by running `apt-get install python-minimal`
- You may have to install Python 2.7 (eg on Ubuntu 16.04+) by running `apt-get install python-minimal`
- This script will install the pre-requisites, install bench and setup an ERPNext site
- Passwords for Frappe Administrator and MariaDB (root) will be asked
- You can then login as **Administrator** with the Administrator password
@ -31,18 +31,23 @@ Steps
Open your Terminal and enter:
# Linux:
#### Linux:
wget https://raw.githubusercontent.com/frappe/bench/master/playbooks/install.py
# Mac OSX:
#### MacOS:
Install X Code (from App store) and HomeBrew (http://brew.sh/)
# install X Code (from App store)
# install HomeBrew (http://brew.sh/)
brew install python
brew install git
Download the Script
curl "https://raw.githubusercontent.com/frappe/bench/master/playbooks/install.py" -o install.py
#### Run the Script
# For development
sudo python install.py --develop
@ -50,7 +55,7 @@ Open your Terminal and enter:
sudo python install.py --production
# If you're logged in as root, use --user flag to create a user and install using that user
sudo python install.py --develop --user frappe
python install.py --develop --user frappe
For development, you have to explicitly start services by running `bench start`. This script requires Python2.7+ installed on your machine. You will have to manually create a new site (`bench new-site`) and get apps that you need (`bench get-app`, `bench install-app`).

View File

@ -7,6 +7,7 @@
- git:
repo=https://github.com/frappe/bench
dest=/home/frappe/bench-repo
depth=no
tags:
- bench_install