GithubHelp home page GithubHelp logo

yusofbandar / timeseriesdatacapture_importsource Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cmdt/timeseriesdatacapture_importsource

0.0 1.0 0.0 26.63 MB

Implementation of the ImportSource interface, described in TimeSeriesDataCapture

License: Other

JavaScript 99.60% HTML 0.40%

timeseriesdatacapture_importsource's Introduction

TimeSeriesDataCapture_ImportSource

Implementation of the ImportSource interface, described in TimeSeriesDataCapture

Deploy

Building

Prerequisites

MongoDB Database

see MongoDB Hosting and MongoDB Creation

Heroku

To build the Import API on heroku simply click the Deploy To Heroku button above

Localhost

To build browse locally first the API swagger.yaml file must be modified.

Locate the host on Line 10 and change host: <url> to host: "localhost:8000"

Locate the schemes on Line 16 and change - "https" to -http

To start server run:

node index.js

Environment Variables

Database

Database URL, Database Username, Database Password and Database Name can be all found within the mLab dashboard

For help see MongoDB

Variable Example Description
DATABASE_URL DATABASE URL this is the access url for the MongoDB database.
DATABASE_USERNAME DATABASE USERNAME this is the username for the MongoDB database.
DATABASE_PASSWORD DATABASE PASSWORD this is the password for the MongoDB database.
DATABASE_NAME DATABASE NAME this is the database name
DEBUG * Node debugging. Defines what components produce logging. Usually set to *
DISABLE_CLUSTERING true set to false to enable running on multiple cores. Currently set to true, because it's not yet tested.
PORT 443 Notionally, this variable is set to 443, but it simply exists as a placeholder for heroku. When running locally use port 8001
WEB_CONCURRENCY 4 Number of cores to use.

This project was funded via the Marloes Peeters Research Group and mentored by DigitalLabs@MMU as a DigitalLabs Summer Project. It is the work of Yusof Bandar.

timeseriesdatacapture_importsource's People

Contributors

coopsatwork avatar yusofbandar avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.