```ruby
# Automatic image dimensions on image_tag helper
activate :automatic_image_sizes

# Reload the browser automatically whenever files change
configure :development do
    activate :livereload
end

after_configuration do
    @bower_config = JSON.parse(IO.read %(#{root}/.bowerrc))
    sprockets.append_path File.join root, @bower_config['directory']
end

set :css_dir, 'css'
set :js_dir, 'js'
set :images_dir, 'img'

# Build-specific configuration
configure :build do
    activate :minify_css
    activate :minify_javascript
    activate :asset_hash
    activate :relative_assets
end
```

Add a deploy method and pretty URLs
user
```ruby
activate :deploy do |deploy|
    deploy.method = :git
    deploy.build_before = true
end

# Automatic image dimensions on image_tag helper
activate :automatic_image_sizes

# pretty URLs
activate :directory_indexes

# Reload the browser automatically whenever files change
configure :development do
    activate :livereload
end

after_configuration do
    @bower_config = JSON.parse(IO.read %(#{root}/.bowerrc))
    sprockets.append_path File.join root, @bower_config['directory']
end

set :css_dir, 'css'
set :js_dir, 'js'
set :images_dir, 'img'

# Build-specific configuration
configure :build do
    activate :minify_css
    activate :minify_javascript
    activate :asset_hash
    activate :relative_assets
end
```
assistant