Sha256: c443b8169ef35e95af171246982f5088eb2c2956bfc95c8028b538ef09ba2eff

Contents?: true

Size: 935 Bytes

Versions: 3

Compression:

Stored size: 935 Bytes

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.
  config.app_secret = '<%= SecureRandom.urlsafe_base64(50) %>'

  # The app name defaults to the folder it is run in.
  # config.app_name = '<%= config[:name] %>'

  # 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
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
volt-0.8.21 templates/project/config/app.rb.tt
volt-0.8.20 templates/project/config/app.rb.tt
volt-0.8.19 templates/project/config/app.rb.tt