2
0
mirror of https://github.com/frappe/bench.git synced 2025-01-10 00:37:51 +00:00

Proposed a number in README.md (#371)

Please preview the changes to see a full list.
This commit is contained in:
Elliot Schep 2017-04-05 08:47:56 +02:00 committed by Rushabh Mehta
parent 7946d17cc1
commit 1a230cceb1

View File

@ -44,24 +44,30 @@ Note: Please do not remove the bench directory the above commands will create
bench init frappe-bench && cd frappe-bench bench init frappe-bench && cd frappe-bench
* Add apps * Add a site
The get-app command gets remote frappe apps from a remote git repository and installs it. Example: [erpnext](https://github.com/frappe/erpnext)
bench get-app erpnext https://github.com/frappe/erpnext
* Add site
Frappe apps are run by frappe sites and you will have to create at least one Frappe apps are run by frappe sites and you will have to create at least one
site. The new-site command allows you to do that. site. The new-site command allows you to do that.
bench new-site site1.local bench new-site site1.local
* Install erpnext * Set a default site
To install erpnext on your new site, use the bench `install-app` command You could specify the site for each command `bench --site [site-name] COMMAND` or you could set a default site.
bench --site site1.local install-app erpnext bench use site1.local
* Add apps
The get-app command gets remote frappe apps from a remote git repository and installs them. Example: [erpnext](https://github.com/frappe/erpnext)
bench get-app erpnext https://github.com/frappe/erpnext
* Install apps
To install an app on your new site, use the bench `install-app` command.
bench install-app erpnext
* Start bench * Start bench
@ -69,7 +75,7 @@ Note: Please do not remove the bench directory the above commands will create
bench start bench start
To login to Frappe / ERPNext, open your browser and go to `localhost:8000` To login to Frappe / ERPNext, open your browser and go to `[your-external-ip]:8000`, probably `localhost:8000`
The default username is "Administrator" and password is what you set when you created the new site. The default username is "Administrator" and password is what you set when you created the new site.