Skip to content
This repository has been archived by the owner on May 31, 2021. It is now read-only.

Dev Setup

Chris edited this page Jul 17, 2017 · 6 revisions

Prerequisities

x86 or x86_64 architecture

The tool uses phantomjs-prebuilt to render png version of map on the server. This library, however, is available only for common OS / processor configurations. The tool will not work on ARM machines.

Node.js v >= 6.7.0

Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient. Node.js' package ecosystem, npm, is the largest ecosystem of open source libraries in the world.

npm is the package manager for JavaScript. Find, share, and reuse packages of code from hundreds of thousands of developers — and assemble them in powerful new ways.

MongoDB

MongoDB is a free and open-source cross-platform document-oriented database program. Classified as a NoSQL database program, MongoDB uses JSON-like documents with schemas.

Install it and make it running.

#Steps

  • git clone https://github.com/cdaniel/atlas2.git
  • cd atlas2
  • npm install
  • Configure the databse src-server/mongodb-helper.js - Look at the line that contains connectionURL = 'mongodb://localhost:27017/atlas2';. This is a fallback mechanism, useful for developers.
  • Configure preferred authentication mechanism as described here
  • Run tests npm test. Note that tests require specific authentication mechanism (anonymous).
  • Start the tool npm start. The tool will listen on http://localhost:6002/
Clone this wiki locally