/Whaleatory

A hackaton15 project

Primary LanguageJavaScript

Whaleatory

front

Register whale observations from a Phidget/Binoculars arrangement, and post observations to the Cloud observation map.

Url to working cloud version: https://calm-sea-3177.herokuapp.com/

Technology Stack

MEAN stack (MongoDB, Express, AngularJS and Node.JS.)
Phidget with Python code

tech

Running Locally

Make sure you have Node.js and the Heroku Toolbelt installed.

Install MongoDB typical installation: https://www.mongodb.org/dr//fastdl.mongodb.org/win32/mongodb-win32-x86_64-2008plus-2.6.7-signed.msi/download

Start mongodb

cd <your_mongo_db_install_directory>
mongod --dbpath <full_path_to_your_datastore_folder>

Select database

use <my_database_name>
$ git clone git@github.com:Statoil/Whaleatory.git # or clone your own fork
$ cd Whaleatory
$ npm install
$ npm start

Your app should now be running on localhost:5000.

Deploying to Heroku

$ heroku create
$ git push heroku master
$ heroku open

You will also have to attach a MongoDB instance as an addon in heroku e.g. from MongoLab

$ heroku addons:add mongolab

Team

  • Harald Wesenberg
  • Jon Rogde
  • Pier Lorenzo Paracchini
  • Stein-Arne Sivertsen

Documentation detailed

For more information about using Node.js on Heroku, see these Dev Center articles: