#!/bin/sh

echo "python"
sudo apt-get install python-pip python-dev;

echo "couchdb couchapp python"
sudo apt-get install couchdb
sudo pip install couchdb couchapp

echo "http://localhost:5984/_utils"

echo "rabbitmq with websocket"
sudo apt-get install rabbitmq-server;
sudo rabbitmq-plugins enable rabbitmq_web_stomp;
sudo rabbitmq-plugins enable rabbitmq_web_stomp_examples;
sudo rabbitmq-plugins enable rabbitmq_management;
#sudo cp rabbitmq.config /etc/rabbitmq/
sudo service rabbitmq-server restart;
sudo pip install pika

echo "http://localhost:15670/"
echo "web admin http://localhost:15672/"

#http://koo.fi/blog/2013/02/18/web-messaging-with-rabbitmq-web-stomp-and-sockjs/#Writing_Programs_with_AMQP
