Minutedock app
- Install node.js
- Install forever.js
- Install mongodb
- Clone repo and checkout the release branch or download the latest release.
- From '<path_to_repo>/src/node', run 'npm install'
- There is config file, app.json at '<path_to_repo>/src/node/config'. Override the properties from default to other sections according to environment name.
- Set use.https to true or false in app.json. Keep it true if you don't have https web server sitting in front of node server.
- If using https, create ssl certificates. Create ssl key and ssl cert files. Modify app.json and set ssl.key.path and ssl.cert.path
- Regenerate the required salts and secrets mentioned in app.json. Don't use the defaults.
- Create google oauth2 credentials and update google.auth.client.id and google.auth.client.secret properties in app.json
- From '<path_to_repo>/build', execute ./build min to minimize js
- From '<path_to_repo>' execute ./restart script (pass the enviroment as parameter, defaults to development. Check app.json to know all possible environment values)
- Access https://localhost:\<https_port_configured_in_config_file>