Skip to content

Instantly share code, notes, and snippets.

Created March 23, 2013 18:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/5228766 to your computer and use it in GitHub Desktop.
Save anonymous/5228766 to your computer and use it in GitHub Desktop.
My production config
require('sails').lift();
module.exports = {
// Name of the application (used as default <title>)
appName: "Sails Application",
// Port this Sails application will live on
port: 80,
// The environment the app is deployed in
// (`development` or `production`)
//
// In `production` mode, all css and js are bundled up and minified
// And your views and templates are cached in-memory. Gzip is also used.
// The downside? Harder to debug, and the server takes longer to start.
environment: 'production',
// Logger
// Valid `level` configs:
//
// - error
// - warn
// - debug
// - info
// - verbose
//
log: {
level: 'info'
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment