|
@@ -25,9 +25,9 @@ |
|
|
|
|
|
|
|
|
###Config |
|
|
###Config |
|
|
* `bench config` - Change bench configuration |
|
|
* `bench config` - Change bench configuration |
|
|
* `auto_update [on/off]` Enable/Disable auto update for bench |
|
|
|
|
|
* `dns_multitenant [on/off]` Enable/Disable DNS Multitenancy |
|
|
|
|
|
* `http_timeout [?]` Set http timeout |
|
|
|
|
|
|
|
|
* `auto_update [on/off]` Enable/Disable auto update for bench |
|
|
|
|
|
* `dns_multitenant [on/off]` Enable/Disable DNS Multitenancy |
|
|
|
|
|
* `http_timeout` Set http timeout |
|
|
* `restart_supervisor_on_update` Enable/Disable auto restart of supervisor |
|
|
* `restart_supervisor_on_update` Enable/Disable auto restart of supervisor |
|
|
* `serve_default_site` Configure nginx to serve the default site on |
|
|
* `serve_default_site` Configure nginx to serve the default site on |
|
|
* `update_bench_on_update` Enable/Disable bench updates on running bench... |
|
|
* `update_bench_on_update` Enable/Disable bench updates on running bench... |
|
@@ -44,6 +44,8 @@ |
|
|
* `sudoers ` Add commands to sudoers list for execution... |
|
|
* `sudoers ` Add commands to sudoers list for execution... |
|
|
* `supervisor ` generate config for supervisor |
|
|
* `supervisor ` generate config for supervisor |
|
|
* `add-domain ` add custom domain for site |
|
|
* `add-domain ` add custom domain for site |
|
|
|
|
|
* `firewall ` setup firewall and block all ports except 22, 80 and 443 |
|
|
|
|
|
* `ssh-port ` change the default ssh connection port |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
###Development |
|
|
###Development |
|
@@ -64,20 +66,20 @@ |
|
|
* `--source_sql` Initiate database with a SQL file |
|
|
* `--source_sql` Initiate database with a SQL file |
|
|
* `--install-app` Install app after installation` |
|
|
* `--install-app` Install app after installation` |
|
|
* `bench use [site]` Sets a default site |
|
|
* `bench use [site]` Sets a default site |
|
|
* `bench drop-site` - Removes site from disk and database completely |
|
|
|
|
|
|
|
|
* `bench drop-site` Removes site from disk and database completely |
|
|
* `--root-login` |
|
|
* `--root-login` |
|
|
* `--root-password` |
|
|
* `--root-password` |
|
|
* `bench console` - Opens a IPython console in the bench venv |
|
|
|
|
|
* `bench execute` - Execute a method inside any app. |
|
|
|
|
|
|
|
|
* `bench console` Opens a IPython console in the bench venv |
|
|
|
|
|
* `bench execute` Execute a method inside any app. |
|
|
* Eg : `bench execute frappe.utils.scheduler.enqueue_scheduler_events` |
|
|
* Eg : `bench execute frappe.utils.scheduler.enqueue_scheduler_events` |
|
|
* `bench mysql` - Opens SQL Console |
|
|
|
|
|
* `bench run-tests` - Run tests |
|
|
|
|
|
|
|
|
* `bench mysql` Opens SQL Console |
|
|
|
|
|
* `bench run-tests` Run tests |
|
|
* `--app` App Name |
|
|
* `--app` App Name |
|
|
* `--doctype` DocType to run tests for |
|
|
* `--doctype` DocType to run tests for |
|
|
* `--test` Specific Test |
|
|
* `--test` Specific Test |
|
|
* `--module` Run a particular module that has tests |
|
|
* `--module` Run a particular module that has tests |
|
|
* `--profile` Runs a Python profiler on the test |
|
|
* `--profile` Runs a Python profiler on the test |
|
|
* `bench disable-production` - Disables production environment |
|
|
|
|
|
|
|
|
* `bench disable-production` Disables production environment |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
###Scheduler |
|
|
###Scheduler |
|
|