2
0
mirror of https://github.com/frappe/bench.git synced 2024-11-12 00:06:36 +00:00

Merge pull request #220 from vjFaLk/patch-4

Added info for OSX
This commit is contained in:
Anand Doshi 2016-05-18 18:12:30 +05:30
commit fd672bf916

View File

@ -67,11 +67,18 @@ Beta Development Setup
Tested on Ubuntu 14.04 to 15.x, Debian 7+, CentOS 7+, and MacOS X. If you find any problems, post them on our forum: [https://discuss.erpnext.com](https://discuss.erpnext.com)
```
Linux:
wget https://raw.githubusercontent.com/frappe/bench/develop/playbooks/install.py
Mac OSX:
curl "https://raw.githubusercontent.com/frappe/bench/master/playbooks/install.py" -o install.py
python install.py --develop
```
This will install with Socketio and Redis Queue. You have to explicitly start services by running `bench start`. This script requires Python2.7+ installed on your machine. You need to run this with a user that is **not** `root`, but can `sudo`. If you don't have such a user, you can search the web for *How to add a new user in { your OS }* and *How to add an existing user to sudoers in { your OS }*.
On Mac OS X, you will have to create a group with the same name as *{ your User }*. On creating this group, you have to assign *{ your User }* to it. You can do this by going to "System preferences" -> "Users & Groups" -> "+" (as if you were adding new account) -> Under "New account" select "Group" -> Type in group name -> "Create group"
This script will:
- Install pre-requisites like git and ansible
@ -103,6 +110,8 @@ You can also run the parts of the bench selectively.
`bench update --bench` will only update the bench utility (this project)
`bench update --requirements` will only update dependencies (python packages) for the apps installed
Guides
=======