A zc.buildout configuration for the Punjab BOSH server.
It installs the supervisor process manager to ensure that Punjab stays up.
It uses mr.developer to check out Punjab, it will be checked out to ./src/punjab
.
Make sure you have the FFI development libraries installed, on Ubuntu/Debian you can run the following:
sudo apt-get install libffi-dev gcc python-virtualenv python-dev libssl-dev
git clone https://github.com/jcbrand/punjab.buildout.git
python3 -m venv punjab.buildout
cd punjab.buildout
source bin/activate
./bin/pip install -r requirements.txt
./bin/buildout -v
./bin/supervisord
sudo apt-get install multitail
multitail -f ./var/log/*.log