소스 검색

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`.

불러오는 중...
취소
저장