Production mode Error
sudo python install.py --production --user ubuntu --db-host localhost
or
sudo python install.py --production --user ubuntu
or
sudo python install.py --production --user ubuntu --db-host localhost --verbose
or
sudo python install.py --production
Getting Error
fatal: [localhost]: FAILED! => {“changed”: true, “cmd”: [“bench”, “init”, “/home/ubuntu/frappe-bench”, “–frappe-branch”, “master”, “–db-host”, “localhost”], “delta”: “0:00:00.317967”, “end”: “2017-06-07 15:52:40.446770”, “failed”: true, “invocation”: {“module_args”: {“_raw_params”: “bench init /home/ubuntu/frappe-bench --frappe-branch master --db-host localhost”, “_uses_shell”: false, “chdir”: null, “creates”: “/home/ubuntu/frappe-bench”, “executable”: null, “removes”: null, “warn”: true}, “module_name”: “command”}, “rc”: 2, “start”: “2017-06-07 15:52:40.128803”, “stderr”: “Error: no such option: --db-host”, “stdout”: “”, “stdout_lines”: [], “warnings”: []}