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