Skip to content

Instantly share code, notes, and snippets.

@simplyb
Created September 24, 2014 15:52
Show Gist options
  • Save simplyb/c455e6f749d253e2bb50 to your computer and use it in GitHub Desktop.
Save simplyb/c455e6f749d253e2bb50 to your computer and use it in GitHub Desktop.
var s = require('sails');
s.load({
environment: 'production',
log: {
level: 'info'
},
hooks: {
blueprints: false,
controllers: false,
cors: false,
csrf: false,
grunt: false,
http: false,
i18n: false,
policies: false,
pubsub: false,
request: false,
responses: false,
session: false,
sockets: false,
views: false
}
}, function(err, sails) {
global.Q = require('q');
Jobs.start();
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment