Skip to content

Latest commit

 

History

History
17 lines (14 loc) · 1.37 KB

INSTALL.md

File metadata and controls

17 lines (14 loc) · 1.37 KB

Running Trustroots locally

Prerequisites

Make sure you have installed all these prerequisites:

  • Node.js and the npm package manager.
  • MongoDB, version 2.6 (2.2 is too old)
  • Bower npm -g install bower
  • Grunt npm -g install grunt-cli

Installation

  1. Clone the repository: git clone https://github.com/Trustroots/trustroots.git trustroots
  2. Install dependencies by running this inside trustroots folder: npm install. Note that if you run npm with sudo, it might skip installing frontend assets. You can run it manually: bower install.
  3. Make sure MongoDb is running on the default port (27017)
  4. Copy config _template to development: cp ./config/secret/_template.js ./config/secret/development.js — add any configurations you want to keep out of version control here. Many features rely on sending emails, so add settings to the mailer section. See nodemailer smtp usage and note that it has pre filled settings for some services.
  5. Finally run grunt default task: grunt

Application should run on the 3000 port in development mode. Open http://localhost:3000 in your browser.