Sha256: 6fd728ee6be00883ce9e9db879f30366778472e715f94a9d510e7747a8320272

Contents?: true

Size: 844 Bytes

Versions: 21

Compression:

Stored size: 844 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"
generate :browser_cms_demo_site
if Gem.win_platform?
  puts "        rake  db:migrate"
  `rake.cmd db:migrate`
else
  rake "db:migrate"
end

Version data entries

21 entries across 21 versions & 8 rubygems

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