You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
487 B

4 years ago
4 years ago
3 years ago
3 years ago
4 years ago
3 years ago
  1. activate :sprockets
  2. activate :i18n, mount_at_root: :fr
  3. configure :development do
  4. activate :livereload, apply_css_live: true, apply_js_live: true, no_swf: true
  5. end
  6. configure :build do
  7. # set :relative_links, true
  8. activate :relative_assets
  9. activate :minify_css
  10. activate :minify_javascript
  11. end
  12. activate :deploy do |deploy|
  13. deploy.build_before = true
  14. deploy.deploy_method = :rsync
  15. deploy.host = 'rabbit.passageenseine.fr'
  16. deploy.port = 2222
  17. deploy.path = '/var/www/programme'
  18. end