- NodeJS (I would recommend v9.0.0) and NPM
- git
- Clone the repository:
$ git clone git@github.com:LarsStegeman/Secure-Data-Management.git
- Install dependencies:
$ npm install
** Recommendation: ** Install nwjs SDK, so you can access Chromium Devtools with F12 while running the client for better debugging
$ npm install nw --nwjs_build_type=sdk
- (Re)set database
$ npm run db.reset
- Move Bootstrap required files to client/vendor
$ npm run build
Note: This step needs only to be executed once, as long as you don't delete client/vendor or its contents
- Run the client
$ npm run client
or the server
$ npm run server
When running the server, you can reach it at localhost:8080. Many routes are available (see server/routes foulder)
If versions mismatch when using nw use this: http://docs.nwjs.io/en/latest/For%20Users/Advanced/Use%20Native%20Node%20Modules/