2
0
mirror of https://github.com/frappe/bench.git synced 2024-09-22 12:09:02 +00:00

docs: add db_host and db_port options for new-site (#871) (#906)

* Update installation docs to show new options

* docs: fix indentation and make the command optional

Co-authored-by: Oshosanya Michael <michaeloshosanya@gmail.com>
This commit is contained in:
Chinmay Pai 2020-01-21 15:29:17 +05:30 committed by GitHub
parent 03c4d9610a
commit 0daa5c45ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,7 +44,11 @@ Bench is a command line tool that helps you install, setup, manage multiple site
* Install apps on a particular site
bench --site [site-name] install-app [app-name]
bench new-site site1.local
**Optional**: If the database for the site does not reside on localhost or listens on a custom port, you can use the flags `--db-host` to set a custom host and/or `--db-port` to set a custom port.
bench new-site site1.local --db-host 192.168.1.1 --db-port 3307
* Start bench (only for development)