Skip to content

domch/seralarm

Repository files navigation

A Simple School Alarm System

The application provides a web management tool enabling alarm scheduling for a school. It is designed for a raspberry PI machine.

Installation

The following command 'git clone' creates a directory with the name "seralarm" and copy all files from the github into the directory.

git clone git://github.com/domch/seralarm
npm install

NPM Installation Problems

If you encountter any problem with installing lame or speaker (which have to be compiled for the target system), you can simply install them with following shell commands.

sudo apt-get install libasound2-dev
sudo npm install --unsafe-perm -g speaker
sudo npm install --unsafe-perm -g lame

Run the Application

The application runs on the port 8000. There are two servers up and running: Express (for static assets) and Socket.io. A friendly advice: Use PM2 for process monitoring!

node server.js

Sound File

The sound file is located under the project root '/sound/sound.mp3'. It can be replaced with any '.mp3' file.

About

A Simple School Alarm System

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors