Browse Source

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
version-14
Arvind Subramanian 8 years ago
committed by Rushabh Mehta
parent
commit
a2a6b8ff8c
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      frappe/docs/user/en/bench/guides/setup-production.md

+ 2
- 3
frappe/docs/user/en/bench/guides/setup-production.md View File

@@ -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`.
`/etc/nginx/conf.d/default`.

Loading…
Cancel
Save