Sha256: 00098011cd7426cfe8461d7025a8db63cb75d511ebcb48300992768b6737f001
Contents?: true
Size: 1.52 KB
Versions: 3
Compression:
Stored size: 1.52 KB
Contents
Volt.configure do |config| # Setup your global app config here. # Your app secret is used for signing things like the user cookie so it can't # be tampered with. A random value is generated on new projects that will work # without the need to customize. Make sure this value doesn't leave your server. # # For added security we recommend moving the app secret into an environment. You can # setup that like so: # # config.app_secret = ENV['APP_SECRET'] # config.app_secret = '<%= SecureRandom.urlsafe_base64(50) %>' # Data updates from the client come in via Tasks. The task dispatcher logs all calls to tasks. # By default hashes in the arguments can be filtered based on keys. So any hash with a key of # password will be filtered. You can add more fields to filter below: config.filter_keys = [:password] # Database config all start with db_ and can be set either in the config # file or with an environment variable (DB_NAME for example). # config.db_driver = 'mongo' # config.db_name = (config.app_name + '_' + Volt.env.to_s) # config.db_host = 'localhost' # config.db_port = 27017 # Compression options # If you are not running behind something like nginx in production, you can # have rack deflate all files. # config.deflate = true # Public configurations # Anything under config.public will be sent to the client as well as the server, # so be sure no private data ends up under public # Use username instead of email as the login # config.public.auth.use_username = true end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
volt-0.9.1.pre4 | templates/project/config/app.rb.tt |
volt-0.9.1.pre3 | templates/project/config/app.rb.tt |
volt-0.9.1.pre2 | templates/project/config/app.rb.tt |