2
0
mirror of https://github.com/frappe/bench.git synced 2025-01-24 15:38:25 +00:00

Beta Installer no more in Beta

This commit is contained in:
Anand Doshi 2016-07-22 15:43:15 +05:30
parent 81dbf0b9eb
commit 452c12df89

View File

@ -39,70 +39,25 @@ Installation
Easy Setup
---------------------
- We recommend using the newer [Beta Installer](#beta-installer) if your system supports it.
- This is an opinionated setup with logging and SE Linux. So, it is best to setup on a blank server.
- Supported for CentOS 6, CentOS 7, Debian 7 and Ubuntu 12.04 to 15.x
- **Does not** work on Ubuntu 16.04, use the [Beta Installer](#beta-installer) instead
- Tested on Ubuntu 14.04 to 16.04, CentOS 7+, and MacOS X. If you find any problems, post them on our forum: [https://discuss.erpnext.com](https://discuss.erpnext.com)
- This script will install the pre-requisites, install bench and setup an ERPNext site
- Passwords for Frappe, Frappe Administrator and MariaDB (root) will be generated
- You can then login as **Administrator** with the Administrator password printed
- Passwords for Frappe Administrator and MariaDB (root) will be asked
- You can then login as **Administrator** with the Administrator password
Open your Terminal and enter:
####For Production:
```
Mac OSX:
curl "https://raw.githubusercontent.com/frappe/bench/master/install_scripts/setup_frappe.sh" -o "setup_frappe.sh"
Linux:
wget https://raw.githubusercontent.com/frappe/bench/master/install_scripts/setup_frappe.sh
sudo bash setup_frappe.sh --setup-production
```
####For Development:
```
Mac OSX:
curl "https://raw.githubusercontent.com/frappe/bench/master/install_scripts/setup_frappe.sh" -o "setup_frappe.sh"
Linux:
wget https://raw.githubusercontent.com/frappe/bench/master/install_scripts/setup_frappe.sh
sudo bash setup_frappe.sh --bench-branch develop
```
You have to explicitly start services by running `bench start`.
####Script Options:
```
-h | --help
-v | --verbose
--mysql-root-password
--frappe-user
--setup-production
--skip-setup-bench
--skip-install-bench
```
Beta Installer
------------------------
Tested on Ubuntu 14.04 to 16.04, CentOS 7+, and MacOS X. If you find any problems, post them on our forum: [https://discuss.erpnext.com](https://discuss.erpnext.com)
```
Linux:
# Linux:
wget https://raw.githubusercontent.com/frappe/bench/develop/playbooks/install.py
Mac OSX:
# Mac OSX:
curl "https://raw.githubusercontent.com/frappe/bench/develop/playbooks/install.py" -o install.py
# for development
# For development
sudo python install.py --develop
# for production
# For production
sudo python install.py --production
# If you're logged in as root, use --user flag to create a user and install using that user