Skip to content

Stopping Production and starting Development

gavin edited this page May 26, 2020 · 12 revisions
cd frappe-bench
bench disable-production

OR Manually by

cd frappe-bench
bench switch-to-develop (Optional : Will change your branches to the "develop" branch)
rm config/supervisor.conf
rm config/nginx.conf

Remove 'restart_supervisor_on_update' from sites/common_site_config.json if it exists

sudo service nginx stop
sudo service supervisor stop
bench setup procfile
bench start

To serve a specific site in multi-site environment, set it as default site##

bench use <site_name>
bench start