よしかわアラーム is a birthday present for @rrreeeyyy. This codes work with The Raspberry Pi.
sudo su -
apt-get install -y build-essential zlib1g-dev libbz2-dev libssl-dev libreadline-dev libncurses5-dev libsqlite3-dev libgdbm-dev libdb-dev libexpat-dev libpcap-dev liblzma-dev libpcre3-dev
curl -kLO https://raw.github.com/saghul/pythonz/master/pythonz-install
chmod +x pythonz-install
./pythonz-install
echo ' [[ -s /usr/local/pythonz/etc/bashrc ]] && source /usr/local/pythonz/etc/bashrc' >> ~/.bashrc
. .bashrc
pythonz install 2.7.9
sudo su -
apt-get install -y python-virtualenv virtualenvwrapper
mkvirtualenv -p /usr/local/pythonz/pythons/CPython-2.7.9/bin/python2.7 --distribute alarm
workon alarm
apt-get install -y supervisor
cd /opt/alarm
cp ./config/supervisord/*.conf /etc/supervisor/conf.d/
service supervisor restart
apt-get install -y libsdl-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-ttf2.0-dev libsmpeg-dev libportmidi-dev libavformat-dev libswscale-dev libv4l-dev
cd /usr/include/linux
ln -s ../libv4l1-videodev.h videodev.h
brew tap homebrew/headonly
brew install smpeg --HEAD
brew install sdl sdl_image sdl_mixer sdl_ttf portmidi
pip install hg+http://bitbucket.org/pygame/pygame
cd /opt
git clone https://github.com/topotal/alarm.git
cd alarm
pip install -r requirements.txt
apt-get install redis-server
apt-get install nginx
cp ./config/nginx/alarm.conf /etc/nginx/conf.d/
service nginx restart
よしかわアラーム is released under the MIT License.