Sha256: b911e2f47bc90c26133d531d9ddf66a8de77e15e31cad64546bd1ad43aab007e

Contents?: true

Size: 892 Bytes

Versions: 18

Compression:

Stored size: 892 Bytes

Contents

# Remove the file on both *unix and Windows
if Gem.win_platform?
  run "del public\\index.html"
else
  run "rm public/index.html"
end

gem "browsercms"
if Gem.win_platform?
  puts "        rake  db:create"
  `rake.cmd db:create`
else
  rake "db:create"
end
route "map.routes_for_browser_cms"
generate :browser_cms
environment 'SITE_DOMAIN="localhost:3000"', :env => "development"
environment 'SITE_DOMAIN="localhost:3000"', :env => "test"
environment 'SITE_DOMAIN="localhost:3000"', :env => "production"
environment 'config.action_view.cache_template_loading = false', :env => "production"
environment 'config.action_controller.page_cache_directory = RAILS_ROOT + "/public/cache/"', :env => "production"
initializer 'browsercms.rb', <<-CODE
Cms.attachment_file_permission = 0640
CODE
if Gem.win_platform?
  puts "        rake  db:migrate"
  `rake.cmd db:migrate`
else
  rake "db:migrate"
end

Version data entries

18 entries across 18 versions & 7 rubygems

Version Path
SFEley-browsercms-3.0.2 templates/blank.rb
buzzware-browsercms-3.0.2 templates/blank.rb
coredumplings-browsercms-3.0.0 templates/blank.rb
we5-browsercms-3.0.1.1 templates/blank.rb
webficient-browsercms-3.0.1 templates/blank.rb
webficient-browsercms-3.0.2 templates/blank.rb
webficient-browsercms-3.0.3 templates/blank.rb
webficient-browsercms-3.0.4 templates/blank.rb
bf4-browsercms-3.1.0 templates/blank.rb
browsercms-3.0.6 templates/blank.rb
browsercms-3.0.5 templates/blank.rb
we5-browsercms-3.0.5.1 templates/blank.rb
we5-browsercms-3.0.5 templates/blank.rb
browsercms-3.0.4 templates/blank.rb
browsercms-3.0.3 templates/blank.rb
we5-browsercms-3.0.2 templates/blank.rb
browsercms-3.0.2 templates/blank.rb
browsercms-3.0.1 templates/blank.rb