Skip to content

Development Environment Page

mtdang edited this page Oct 3, 2018 · 15 revisions

The purpose of the Development Environment Page is to list the simple instructions for installation and set up of the development environment(s) for the project including any dependencies.

Development Environment

For deployment and dependency management, we will be using Docker and NPM (Node Package Manager). With Docker, we will be using it to keep a consistent development environment as well as also be responsible for installing and launching the Cassandra database. Additionally, we will be using NPM for library management. Microsoft Ajure will be running Ubuntu version 16.04.

Dependencies:

  • bcrypt for salting and hashing password
  • mongo driver for connecting nodejs to mongo
  • express for routing
  • json web tokens for managing session, authentication, and authorization
  • eslint for managing code consistency
  • Mocha and Chai for testing
  • spawn processes for calling the machine learning python scripts
  • sci-kit learn, numpy, pandas for data processing and machine learning

Instructions to Set Up Development Environment:

  1. (Node Install)
  2. Clone the repo
  3. Type npm Install in the root of the directory
  4. (Install Docker)
  5. SetUp Docker with Mongo
  6. Use “docker pull mongo” command
  7. Start Mongo with the appropriate ports and use “docker run —name mongodb -p 127.0.0.1:27017:27017 -d mongo” command
  8. After all dependencies are installed, type node index.js

Clone this wiki locally