Created
January 4, 2014 13:04
-
-
Save sweemeng/8255157 to your computer and use it in GitHub Desktop.
sweemengs popit config in popit/configs/development.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* Example development configuration file | |
| */ | |
| var path = require('path'); [0/23] | |
| module.exports = { | |
| // Don't use minified assets - makes dev easier as no js rebuild required | |
| public_dir: 'public', | |
| // show the worning on the web pages | |
| show_dev_site_warning: true, | |
| // log to the console, and log more | |
| logging: { | |
| log_to_console: true, | |
| log_level: 'verbose', | |
| }, | |
| hosting_server: { | |
| // *.127.0.0.1.xip.io points to 127.0.0.1 | |
| host: 'www.192.168.12.187.xip.io', | |
| base_url: 'http://www.192.168.12.187.xip.io:3000', | |
| }, | |
| instance_server: { | |
| // This is used to create the url to the instance site. '%s' is | |
| // replaced with the instance name. | |
| base_url_format: "http://%s.192.168.12.187.xip.io:3000", | |
| cookie_secret: 'hurgleflurdle', | |
| files_dir: path.normalize(__dirname + '/../../popit_files'), | |
| }, | |
| MongoDB: { | |
| popit_prefix: 'popitdev_', | |
| }, | |
| instance_server: { | |
| files_dir: path.normalize(__dirname + '/../../popitdev_files'), | |
| }, | |
| email: { | |
| send_by_transport: true, | |
| save_to_database: true, | |
| print_to_console: true, | |
| }, | |
| }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment