mirror of
https://github.com/frappe/bench.git
synced 2025-01-09 16:36:25 +00:00
feat: update flags to readme
This commit is contained in:
parent
16b9b07e89
commit
7e89a23357
18
README.md
18
README.md
@ -35,7 +35,7 @@ To manually install frappe/erpnext, you can follow this [this wiki](https://gith
|
|||||||
|
|
||||||
#### 1. Install Pre-requisites
|
#### 1. Install Pre-requisites
|
||||||
|
|
||||||
- Python 2.7 [Python3.5+ also supported, but not recommended for production]
|
- Python 2.7 or Python 3.5+
|
||||||
- MariaDB 10+
|
- MariaDB 10+
|
||||||
- Nginx (for production)
|
- Nginx (for production)
|
||||||
- Nodejs
|
- Nodejs
|
||||||
@ -130,10 +130,6 @@ _(it is very common to name this user `frappe`, but this comes with the disadvan
|
|||||||
ranked very high in hackers circles for attempts to entering servers. So production sites it
|
ranked very high in hackers circles for attempts to entering servers. So production sites it
|
||||||
is highly recommended to use a custom username harder to guess for)_
|
is highly recommended to use a custom username harder to guess for)_
|
||||||
|
|
||||||
use --user flag to create a user and install using that user
|
|
||||||
|
|
||||||
python install.py --develop --user [frappe-user]
|
|
||||||
|
|
||||||
For developer setup:
|
For developer setup:
|
||||||
|
|
||||||
sudo python install.py --develop
|
sudo python install.py --develop
|
||||||
@ -142,6 +138,18 @@ For production:
|
|||||||
|
|
||||||
sudo python install.py --production --user [frappe-user]
|
sudo python install.py --production --user [frappe-user]
|
||||||
|
|
||||||
|
use --user flag to create a user and install using that user
|
||||||
|
|
||||||
|
python install.py --develop --user [frappe-user]
|
||||||
|
|
||||||
|
use --veresion flag to install specific version
|
||||||
|
|
||||||
|
python install.py --develop --version 11 --user [frappe-user]
|
||||||
|
|
||||||
|
use --python flag to specify virtual environments python version, by default script setup python 3
|
||||||
|
|
||||||
|
python install.py --develop --version 11 --python python2.7 --user [frappe-user]
|
||||||
|
|
||||||
#### What will this script do?
|
#### What will this script do?
|
||||||
|
|
||||||
- Install all the pre-requisites
|
- Install all the pre-requisites
|
||||||
|
Loading…
Reference in New Issue
Block a user