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