This repository has been archived by the owner on Dec 1, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 123
Bench manager production setup
vishalseshagiri edited this page Oct 3, 2017
·
1 revision
- Ensure that you have sudo installed
- If not drop your shell to root and install sudo via the command
apt-get install sudo
- create this file /etc/sudoers.d/frappe
- Add these lines to the file /etc/sudoers.d/frappe
frappe ALL=(ALL) NOPASSWD:ALL
- Ensure that nginx and supervisor are setup
- Install jq package to parse and edit json files (It is a dependency for disable_production_scripts.sh)
sudo apt-get install jq
- Ensure that you have nginx and supervisor installed and setup on your system.
- nginx install steps(for ubuntu)
sudo apt-get install nginx
sudo vim /etc/apt/sources.list.d/nginx.list
deb http://nginx.org/packages/ubuntu/ xenial nginx
sudo apt-get update
sudo apt-get install nginx
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys $key
sudo apt-get update
sudo apt-get install nginx
- supervisor install steps(for ubuntu)
sudo apt-get install supervisor
- Make sure you have the productions_scripts.sh and disable_production_scripts.sh files in the frappe-bench directory.