-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Bench Procfile
Rushabh Mehta edited this page Jul 27, 2015
·
2 revisions
bench start
uses honcho to manage multiple processes in developer mode.
The various process that are needed to run frappe are:
-
bench start
- the web server - celery task queue for background workers (scheduled jobs and other async tasks)
- celery worker beat to trigger periodic tasks
-
redis
for caching (general) -
redis
for managing queue for background workers -
redis
as a message broker for real-time updates / updates from background workers -
node
to runsocketio
for real-time messaging.
Optionally if you are developing for frappe you can add:
bench watch
to automatically build the desk javascript app.
web: bench --site test.erpnext.com serve --port 8001
redis_async_broker: redis-server config/redis_async_broker.conf
socketio: node apps/frappe/socketio.js
workerbeat: sh -c 'cd sites && exec ../env/bin/python -m frappe.celery_app beat -s scheduler.schedule'
worker: sh -c 'cd sites && exec ../env/bin/python -m frappe.celery_app worker'
redis_cache: redis-server config/redis_cache.conf
redis: redis-server
- watch: bench watch
Note: updated for version 6
Custom Footer Page