-
Notifications
You must be signed in to change notification settings - Fork 1
Install
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
-
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/
-
Install play morphia-1.2.6a (MongoDB Integration with play) $ cd /opt/play-1.2.4/ $ play install morphia-1.2.6a
-
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
-
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
-
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
-
Start mongodb (run on a different terminal) $ sudo mongod
-
Run SensorAct-1.0. Go to the home directory of SensorAct-1.0 $ cd SensorAct-1.0 $ play run
-
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!