Bench Procfile
bench start uses honcho to manage multiple processes in developer mode.
Processes
The various process that are needed to run dontmanage are:
bench start- the web serverredis_cachefor caching (general)redis_queuefor managing queue for background workersredis_socketioas a message broker for real-time updates / updates from background workerswebfor the dontmanage web server.socketiofor real-time messaging.scheduleto trigger periodic tasksworker_*redis workers to handle async jobs
Optionally if you are developing for dontmanage you can add:
bench watch to automatically build the desk javascript app.
Sample
redis_cache: redis-server config/redis_cache.conf
redis_socketio: redis-server config/redis_socketio.conf
redis_queue: redis-server config/redis_queue.conf
web: bench serve --port 8000
socketio: /usr/bin/node apps/dontmanage/socketio.js
watch: bench watch
schedule: bench schedule
worker_short: bench worker --queue short
worker_long: bench worker --queue long
worker_default: bench worker --queue default