Skip to content
manaswis edited this page Mar 12, 2013 · 5 revisions

Please follow the setup instructions from github.com/iiitd-ucla-pc3/SensorAct/wiki/Setup-Instructions


This is the INSTALL file for SensorActVPDS.

((Prerequisites)) To install SensorActVPDS on your machine, following prerequisites are required (({ $ wget download.playframework.org/releases/play-1.2.4.zip}))

(({$ sudo unzip play-1.2.4.zip -d /opt/}))

Follow the below steps to set up the SensorAct-1.0 repository

  1. Download and install play-1.2.4 $ wget download.playframework.org/releases/play-1.2.4.zip $ sudo unzip play-1.2.4.zip -d /opt/

  2. Install play morphia-1.2.6a (MongoDB Integration with play) $ cd /opt/play-1.2.4/ $ play install morphia-1.2.6a

  3. Download and install mongodb-2.0.5 64bit (32bit version has a limitation of 2GB data space) $ wget fastdl.mongodb.org/linux/mongodb-linux-x86_64-2.0.5.tgz $ sudo tar -C /opt -zxvf mongodb-linux-x86_64-2.0.5.tgz $ sudo mkdir -p /data/db/ $ sudo chown ‘id -u` /data/db

  4. Export the PATH. Also insert the following line to your ~/.profile $ export PATH=$PATH:/opt/play-1.2.4:/opt/mongodb-linux-x86_64-2.0.4/bin

  5. Checkout the SensorAct-1.0 source code from Github $ mkdir sensoract $ cd sensoract

    $ git clone github.com/iiitd-muc/SensorAct/tree/master/SensorAct-1.0

  6. Start mongodb (run on a different terminal) $ sudo mongod

  7. Run SensorAct-1.0. Go to the home directory of SensorAct-1.0 $ cd SensorAct-1.0 $ play run

  8. Test it. By default SensorAct-1.0 repo will be listening on port 9000. To test it go to localhost:9000/. You should be getting a welcome line that means that you have successfully installed SensorAct-1.0

That’s all!