- nodejs
- mongo
- ruby
- lamp
Checkout github repostory
git clone git@github.com:teodortalov/data-acquisition-nodejs-mongodb.git solarcloud
Navigate into the app folder
cd solarcloud
Install dependencies
sudo npm install
Install js-yaml (see issue #1)
sudo npm install js-yaml
Run Fetcher
node fetcher
Run fetcher in background
nohup node fetcher&
See installation instructions at: https://github.com/bobthecow/genghis
Running Genghis from command line
genghisapp
You should see response like this:
[2013-12-02 00:05:29 -0500] Starting 'genghisapp'...
[2013-12-02 00:05:29 -0500] 'genghisapp' is already running at http://0.0.0.0:5678
You can access the application at:
your-host.com:5678
Get last 3 or n records
db.readings.find().sort( { _id : -1 } ).limit(3).pretty()