Skip to content

vortizhe/middleman-base

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Middleman Base Template

Features

  • Rack and Pow compatible
  • LiveReload
  • Sprockets
  • jQuery
  • Dom-limpio
  • MQBE
  • Custom assets structure

Requisites

  • Ruby 2.3.3
  • Middleman > 4

Install

$ middleman init -T vortizhe/middleman-base YOUR_PROYECT_DIR

Rack up

There is an optional config.ru file to serve site with rack. You can enable basic auth for staging purpouses setting HTTP_USER and HTTP_PASS env variables and uncommenting next block on config.ru.

if ENV['RACK_ENV'] == 'production'
  use Rack::Auth::Basic, "Restricted Area" do |username, password|
    [username, password] == [ENV['HTTP_USER'], ENV['HTTP_PASS']]
  end
end

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages