From 7e89a233576720b03f9b2b7a32cbc6e334646339 Mon Sep 17 00:00:00 2001 From: Saurabh Date: Wed, 31 Jul 2019 12:54:49 +0530 Subject: [PATCH] feat: update flags to readme --- README.md | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index b4c68837..7890ae1b 100755 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ To manually install frappe/erpnext, you can follow this [this wiki](https://gith #### 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+ - Nginx (for production) - Nodejs @@ -126,14 +126,10 @@ If you are on a fresh server and logged in as root, at first create a dedicated usermod -aG sudo frappe ``` -_(it is very common to name this user `frappe`, but this comes with the disadvantage of being +_(it is very common to name this user `frappe`, but this comes with the disadvantage of being 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)_ -use --user flag to create a user and install using that user - - python install.py --develop --user [frappe-user] - For developer setup: sudo python install.py --develop @@ -142,6 +138,18 @@ For production: 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? - Install all the pre-requisites