Skip to content

Latest commit

 

History

History
26 lines (22 loc) · 554 Bytes

File metadata and controls

26 lines (22 loc) · 554 Bytes

Backend

Getting started

  1. git clone https://github.com/Xignal/App.git
  2. cd ./App/src
  3. npm install sails
  4. npm install sails-mongo
  5. create config/local.js with your secret DB settings (see example below)
  6. sails lift
// contents of local.js. Add your own secrets. This file will not be committed.
module.exports.connections = {
    
  someMongodbServer: {
        adapter: 'sails-mongo',
        host: 'locahost',
        port: 10001,
        user: '',
        password: '',
        database: ''
    }    
};