Skip to content

Instantly share code, notes, and snippets.

@mhluska
Last active August 29, 2015 14:27
Show Gist options
  • Save mhluska/06698df76350cb77f178 to your computer and use it in GitHub Desktop.
Save mhluska/06698df76350cb77f178 to your computer and use it in GitHub Desktop.
middleman-livereload issue config.rb
configure :development do
activate :livereload
activate :dotenv
end
set :css_dir, 'stylesheets'
set :js_dir, 'javascripts'
set :images_dir, 'images'
configure :build do
activate :relative_assets
end
activate :directory_indexes
activate :deploy do |deploy|
deploy.method = :rsync
deploy.host = ENV['DEPLOY_HOST']
deploy.path = ENV['DEPLOY_PATH']
deploy.port = ENV['DEPLOY_PORT']
deploy.user = ENV['DEPLOY_USER']
deploy.clean = true
deploy.flags = '-avz --chmod=u+rwx,g+rwx,o-w'
end
activate :blog do |blog|
blog.prefix = 'blog'
blog.layout = 'article'
end
page '/feed.xml', layout: false
Time.zone = 'Eastern Time (US & Canada)'
sprockets.append_path File.join root, 'bower_components'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment