Skip to content

Instantly share code, notes, and snippets.

@mgutz
Created January 5, 2011 17:22
Show Gist options
  • Save mgutz/766621 to your computer and use it in GitHub Desktop.
Save mgutz/766621 to your computer and use it in GitHub Desktop.
sample javascript configuration
// define all common settings here
exports.common = {
storage: {
host: 'localhost',
database: 'server_dev',
user: 'qirogami_user',
password: 'password'
}
};
// deep merges over common
exports.development = {
};
exports.test = {
storage: {
database: 'server_test'
}
};
exports.production = {
storage: {
database: 'server_production'
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment