/DataMaps

Primary LanguageJavaScript

DataMaps

This is a development repository.

Prerequisites

  • We are running with a local MongoDB

On Mac OS install via homebrew:

brew install mongodb

On Mac OS or Linux:

curl https://install.meteor.com/ | sh

  • Data Folder: It expects a certain data folder structure. /hnet/incoming/2015 + /hnet/outgoing/2015 should exists.

Testing in local development environment

MONGO_URL=mongodb://localhost:27017/DataMaps meteor

Deployment with PM2

  • change into the working directory and run meteor build . - this will generate a *.tar .gz file
  • move the file to the install location nd extract it (you will end up with a bundle directory
  • cd bundle/programs/server/ and npm install
  • generate a configuration file for PM2 (see example gist) outside of bundle
  • run pm2 start [your_pm2_conf_file]