Make sure the following are available:
Install required modules by running npm install
, and bower install
at the project root path.
The application can be configured either by changing values in backend/appConf.js
, or by adding a private
configuration file (will be ignored in the VCS). By convention, all properties of privateConfiguration
(inside
appConf.js
) that are initialized with undefined
are mandatory.
To use a private configuration file:
-
mkdir conf; cd conf; mkdir dev; cd dev
-
touch meConf.js
-
Inside
meConf.js
, copy all properties ofprivateConfiguration
object fromappConf.js
that are initialized withundefined
into new properties on theexports
RequireJS object, e.g.:exports.authToken = "00000000-aaaa-bbbb-cccc-000000000000"; exports.userId = "me"; exports.cookieSecret = "shhhhh";