Skip to content

A data processing framework for a group of atmospheric science researchers at the University of Houston

Notifications You must be signed in to change notification settings

DataAnalyticsinStudentHands/HNETDataMaps

Repository files navigation

HNETDataMaps Client

This is the web frontend for a data processing framework for atmospheric sensors who can monitor and edit their data.

The documentation for end users can be found in the Wiki.

The following instructions are for developers who want to setup their own version. This is a meteor based framework.

Prerequisites

  • Data Folder: The framework expects a certain data folder structure. /hnet/incoming/current should exist. This location is hard coded and need be changed if desired. There also needs to be an outgoing data directory which can be defined as an environment varaible outgoingDir.

  • We are running with a local MongoDB

to install e.g on Mac OS install via homebrew:

brew install mongodb

to install e.g. on Mac OS or Linux:

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

  • For pushing data out, the server is using lftp which must be installed.

Getting started

Clone and run: meteor npm install

Testing in local development environment

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

For debugging with node inspector run MONGO_URL=mongodb://localhost:27017/DataMaps meteor debug and open the app in Chrome with the port listed once the app has started.

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 and 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] --node-args="--max_old_space_size=6144"

About

A data processing framework for a group of atmospheric science researchers at the University of Houston

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published