From a2a6b8ff8c36177b9b909f1f4ef4196bf0d16efc Mon Sep 17 00:00:00 2001 From: Arvind Subramanian Date: Mon, 24 Apr 2017 09:40:53 +0530 Subject: [PATCH] removed the command as below error (#3137) sudo python install.py --setup-production usage: install.py [-h] [--develop | --production] [--site SITE] [--verbose] [--user USER] [--bench-branch BENCH_BRANCH] [--repo-url REPO_URL] install.py: error: unrecognized arguments: --setup-production --- frappe/docs/user/en/bench/guides/setup-production.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/frappe/docs/user/en/bench/guides/setup-production.md b/frappe/docs/user/en/bench/guides/setup-production.md index 1567cafa13..414aab10e2 100644 --- a/frappe/docs/user/en/bench/guides/setup-production.md +++ b/frappe/docs/user/en/bench/guides/setup-production.md @@ -1,8 +1,7 @@ You can setup the bench for production use by configuring two programs, Supervisor and nginx. If you want to revert your Production Setup to Development Setup refer to [these commands](https://github.com/frappe/bench/wiki/Stopping-Production-and-starting-Development) ####Easy Production Setup -These steps are automated if you pass `--setup-production` to the easy install script -or run `sudo bench setup production` +These steps are automated if you run `sudo bench setup production` ####Manual Production Setup @@ -53,4 +52,4 @@ Note: When you restart nginx after the configuration change, it might fail if you have another configuration with server block as default for port 80 (in most cases for the nginx welcome page). You will have to disable this config. Most probable places for it to exist are `/etc/nginx/conf.d/default.conf` and -`/etc/nginx/conf.d/default`. \ No newline at end of file +`/etc/nginx/conf.d/default`.