README.md in pvcglue-0.1.26 vs README.md in pvcglue-0.1.27

- old
+ new

@@ -1,5 +1,11 @@ +### +There is an issue with gem 'tilt', '>=2.0.0', use + + gem 'tilt', '<2.0.0' + +in your project's Gemfile, as a temporary workaournd. # PVC Glue Pico Virtual Cloud Glue creates a tightly integrated (very small) virtual cloud for your Rails application. An opinionated cloud application manager for Rails applications using your own servers. @@ -180,24 +186,24 @@ add *.toml and *.dump to .gitignore create main toml file - add maintenance/maintenance.html + add public/maintenance/maintenance.html pvc alpha bootstrap pvc alpha pvcify pvc alpha build pvc alpha deploy modify config/initializers/secret_token.rb to include - if Rails.env.production? - Store::Application.config.secret_token = ENV['RAILS_SECRET_TOKEN'] || raise('No secret token specified. :(') - else - Store::Application.config.secret_token = '1175ba3ce440d59b811fd9464c5657ca09f171535fd885719f263ddec3af6ef5df42c266d96868479357b7959b05cfcac7dd1663a696931c5f347c96665e1623' - end - + if Rails.env.in?(%w(development test)) + Rails.application.config.secret_token = 'This is insecure, please do not ever use in a publicly available application!' + else + Rails.application.config.secret_token = ENV['RAILS_SECRET_TOKEN'] || raise('No secret token specified. :(') + raise('Secret token is too short. :(') if Rails.application.config.secret_token.length < 30 + end ## Troubleshooting