mirror of
https://github.com/frappe/bench.git
synced 2024-11-13 16:56:33 +00:00
Merge pull request #794 from vrms/vrms_enhance-README
adding a comment about choosing a custom frappe user name (other then…
This commit is contained in:
commit
5e6e207045
22
README.md
22
README.md
@ -81,7 +81,7 @@ Note: Please do not remove the bench directory the above commands will create
|
||||
To install an app on your new site, use the bench `install-app` command.
|
||||
|
||||
bench --site site1.local install-app erpnext
|
||||
|
||||
|
||||
* Start bench
|
||||
|
||||
To start using the bench, use the `bench start` command
|
||||
@ -118,9 +118,21 @@ For Linux:
|
||||
|
||||
#### 2. Run the install script
|
||||
|
||||
If you are on a fresh server and logged in as root, use --user flag to create a user and install using that user
|
||||
If you are on a fresh server and logged in as root, at first create a dedicated user for frappe
|
||||
& equip this user with sudo privileges
|
||||
|
||||
python install.py --develop --user frappe
|
||||
```
|
||||
adduser [frappe-user]
|
||||
usermod -aG sudo frappe
|
||||
```
|
||||
|
||||
_(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:
|
||||
|
||||
@ -128,14 +140,14 @@ For developer setup:
|
||||
|
||||
For production:
|
||||
|
||||
sudo python install.py --production --user frappe
|
||||
sudo python install.py --production --user [frappe-user]
|
||||
|
||||
#### What will this script do?
|
||||
|
||||
- Install all the pre-requisites
|
||||
- Install the command line `bench`
|
||||
- Create a new bench (a folder that will contain your entire frappe/erpnext setup)
|
||||
- Create a new ERPNext site on the bench
|
||||
- Create a new ERPNext site on the bench
|
||||
|
||||
#### How do I start ERPNext
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user