瀏覽代碼

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 年之前
committed by Rushabh Mehta
父節點
當前提交
a2a6b8ff8c
共有 1 個文件被更改,包括 2 次插入3 次删除
  1. +2
    -3
      frappe/docs/user/en/bench/guides/setup-production.md

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

Loading…
取消
儲存