Skip to content
Christopher Dunavan edited this page Apr 12, 2017 · 6 revisions

You will need Node 4.x, NPM 3.x and Mongodb 3.2 installed and working. If you don't already have these, head over to the Quick Start Guide to get them installed.

Git clone (the URL)
cd dcit
npm install

Setup Mongodb, Cookie secret and file locations.

credentials.js is not in the repository and must be created.

First setup your credentials file. For testing you could simply rename credentials-file-example.js to credentials.js in the root of the app folder.

This file contains:

  • Data base connection strings for production, development and test, for instance if you have a remote mongodb instance or need credentials. The database will be created when the app is run for the first time.
  • Log and file upload directories.

The example creates these directories one level higher than the app root directory. This was done to keep the code separate from changing files. Change the path to your requirements in the file and they will be created on startup.

  • Cookie Secret, you should change this if this is production.
  • Default checkAccess state, see User Permissions for more information.
Clone this wiki locally