Sha256: 6582aa018b6cda479b1e224f12cfe9ea9f0f07075745e41ed312244c849069de

Contents?: true

Size: 459 Bytes

Versions: 4

Compression:

Stored size: 459 Bytes

Contents

require 'bundler/setup'
require 'pakyow'

Pakyow::App.define do
  configure do
    Bundler.require :default, Pakyow::Config.env

    if defined?(Dotenv)
      env_path = ".env.#{Pakyow::Config.env}"
      Dotenv.load env_path if File.exist?(env_path)
      Dotenv.load
    end

    app.name = '<%= app_name %>'
  end

  configure :development do
    # development config goes here
  end

  configure :production do
    # production config goes here
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
pakyow-0.11.3 lib/generators/pakyow/app/templates/app/setup.rb
pakyow-0.11.2 lib/generators/pakyow/app/templates/app/setup.rb
pakyow-0.11.1 lib/generators/pakyow/app/templates/app/setup.rb
pakyow-0.11.0 lib/generators/pakyow/app/templates/app/setup.rb