Sha256: 6942b0794e0d5486bff961be20c0d38bdc2ac670c8c214532c96953cc209c52e
Contents?: true
Size: 783 Bytes
Versions: 3
Compression:
Stored size: 783 Bytes
Contents
require 'bundler/setup' require 'pakyow' Pakyow::App.define do configure :global do Bundler.require :default, Pakyow::Config.env # put global config here and they'll be available across environments app.name = 'Pakyow' end configure :development do # put development config here end configure :prototype do # an environment for running the front-end prototype with no backend app.ignore_routes = true end configure :staging do # put your staging config here end configure :production do # put your production config here end middleware do |builder| # TODO: you will most definitely want to change this secret builder.use Rack::Session::Cookie, key: "#{Pakyow::Config.app.name}.session", secret: 'sekret' end end
Version data entries
3 entries across 3 versions & 1 rubygems