-
Notifications
You must be signed in to change notification settings - Fork 34
Dev Setup
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 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 containsconnectionURL = '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/