d-pac.docs

CMS

d-pac

Dependency Status devDependency Status

Digital platform for assessment of competences

NOT PRODUCTION READY

Not by a long shot.

Please visit http://www.d-pac.be for more information.

If you want to contribute you can start here

Installation

You need node and mongodb, then go to the directory you cloned this repo to and run:

$ npm install

Setup

You need to provide the system with some configuration details before it can run.

All mandatory settings are listed in EXAMPLE.env Just copy the file, rename it to .env and fill in all necessary details.

You'll have to setup an account with cloudinary and mandrill, both provide free plans.

Environment specific settings

If you want to run this in various environments you can override the base environment settings by providing environment specific .env files:

# file: .env.staging
MONGO_URI=mongodb://localhost/d-pac-staging
PORT=3030
# file: .env.production
debug=none

Starting the application

Run the application as any node app

$ node app/server.js

Or in a specific environment (by default a "development" environment is assumed)

$ NODE_ENV=staging node app/server.js

Obviously you can use process managers too e.g. nodemon or pm2

D-PAC Copyright (C) 2014-2016 d-pac http://www.d-pac.be