Slack notifications for xTuple ERP
Example of using PostgreSQL's pg_notify facility for sending messages to a Slack channel via triggers and a node.js listener.
mkdir /opt/xtuple/xtslack_notify
cp xtslack_notify.js /opt/xtuple/xtslack_notify
cp package.json /opt/xtuple/xtslack_notify
cd /opt/xtuple/xtslack_notify
npm install
cp start-script/xtslack_notify.conf /etc/init/xtslack_notify.conf
service xtslact_notify start