Last active
August 29, 2015 14:27
-
-
Save mhluska/06698df76350cb77f178 to your computer and use it in GitHub Desktop.
middleman-livereload issue config.rb
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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