Skip to content

Commit

Permalink
middleman init.
Browse files Browse the repository at this point in the history
  • Loading branch information
ashfurrow committed Jan 7, 2017
1 parent a2cdd3d commit 3cb87b3
Show file tree
Hide file tree
Showing 10 changed files with 673 additions and 45 deletions.
58 changes: 13 additions & 45 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,50 +1,18 @@
*.gem
*.rbc
/.config
/coverage/
/InstalledFiles
/pkg/
/spec/reports/
/spec/examples.txt
/test/tmp/
/test/version_tmp/
/tmp/

# Used by dotenv library to load environment variables.
# .env

## Specific to RubyMotion:
.dat*
.repl_history
build/
*.bridgesupport
build-iPhoneOS/
build-iPhoneSimulator/

## Specific to RubyMotion (use of CocoaPods):
#
# We recommend against adding the Pods directory to your .gitignore. However
# you should judge for yourself, the pros and cons are mentioned at:
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
# See http://help.github.com/ignore-files/ for more about ignoring files.
#
# vendor/Pods/
# If you find yourself ignoring temporary files generated by your text editor
# or operating system, you probably want to add a global ignore instead:
# git config --global core.excludesfile ~/.gitignore_global

## Documentation cache and generated files:
/.yardoc/
/_yardoc/
/doc/
/rdoc/
# Ignore bundler config
/.bundle

## Environment normalization:
/.bundle/
/vendor/bundle
/lib/bundler/man/
# Ignore the build directory
/build

# for a library or gem, you might want to ignore these files since the code is
# intended to run in multiple environments; otherwise, check them in:
# Gemfile.lock
# .ruby-version
# .ruby-gemset
# Ignore cache
/.sass-cache
/.cache

# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
.rvmrc
# Ignore .DS_store file
.DS_Store
13 changes: 13 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# If you do not have OpenSSL installed, change
# the following line to use 'http://'
source 'https://rubygems.org'

# For faster file watcher updates on Windows:
gem 'wdm', '~> 0.1.0', platforms: [:mswin, :mingw]

# Windows does not come with time zone data
gem 'tzinfo-data', platforms: [:mswin, :mingw, :jruby]

# Middleman Gems
gem 'middleman', '>= 4.0.0'
gem 'middleman-compass', '>= 4.0.0'
121 changes: 121 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,121 @@
GEM
remote: https://rubygems.org/
specs:
activesupport (4.2.7.1)
i18n (~> 0.7)
json (~> 1.7, >= 1.7.7)
minitest (~> 5.1)
thread_safe (~> 0.3, >= 0.3.4)
tzinfo (~> 1.1)
addressable (2.5.0)
public_suffix (~> 2.0, >= 2.0.2)
backports (3.6.8)
chunky_png (1.3.8)
coffee-script (2.4.1)
coffee-script-source
execjs
coffee-script-source (1.10.0)
compass (1.0.3)
chunky_png (~> 1.2)
compass-core (~> 1.0.2)
compass-import-once (~> 1.0.5)
rb-fsevent (>= 0.9.3)
rb-inotify (>= 0.9)
sass (>= 3.3.13, < 3.5)
compass-core (1.0.3)
multi_json (~> 1.0)
sass (>= 3.3.0, < 3.5)
compass-import-once (1.0.5)
sass (>= 3.2, < 3.5)
concurrent-ruby (1.0.2)
contracts (0.13.0)
dotenv (2.1.1)
erubis (2.7.0)
execjs (2.7.0)
fast_blank (1.0.0)
fastimage (2.0.0)
addressable (~> 2)
ffi (1.9.14)
haml (4.0.7)
tilt
hamster (3.0.0)
concurrent-ruby (~> 1.0)
hashie (3.4.4)
i18n (0.7.0)
json (1.8.3)
kramdown (1.12.0)
listen (3.0.8)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
memoist (0.15.0)
middleman (4.1.10)
coffee-script (~> 2.2)
compass-import-once (= 1.0.5)
haml (>= 4.0.5)
kramdown (~> 1.2)
middleman-cli (= 4.1.10)
middleman-core (= 4.1.10)
sass (>= 3.4.0, < 4.0)
middleman-cli (4.1.10)
thor (>= 0.17.0, < 2.0)
middleman-compass (4.0.1)
compass (>= 1.0.0, < 2.0.0)
middleman-core (>= 4.0.0)
middleman-core (4.1.10)
activesupport (~> 4.2)
addressable (~> 2.3)
backports (~> 3.6)
bundler (~> 1.1)
contracts (~> 0.13.0)
dotenv
erubis
execjs (~> 2.0)
fast_blank
fastimage (~> 2.0)
hamster (~> 3.0)
hashie (~> 3.4)
i18n (~> 0.7.0)
listen (~> 3.0.0)
memoist (~> 0.14)
padrino-helpers (~> 0.13.0)
parallel
rack (>= 1.4.5, < 2.0)
sass (>= 3.4)
servolux
tilt (~> 1.4.1)
uglifier (~> 3.0)
minitest (5.9.1)
multi_json (1.12.1)
padrino-helpers (0.13.2)
i18n (~> 0.6, >= 0.6.7)
padrino-support (= 0.13.2)
tilt (>= 1.4.1, < 3)
padrino-support (0.13.2)
activesupport (>= 3.1)
parallel (1.9.0)
public_suffix (2.0.4)
rack (1.6.4)
rb-fsevent (0.9.7)
rb-inotify (0.9.7)
ffi (>= 0.5.0)
sass (3.4.22)
servolux (0.12.0)
thor (0.19.1)
thread_safe (0.3.5)
tilt (1.4.1)
tzinfo (1.2.2)
thread_safe (~> 0.1)
uglifier (3.0.1)
execjs (>= 0.3.0, < 3)

PLATFORMS
ruby

DEPENDENCIES
middleman (>= 4.0.0)
middleman-compass (>= 4.0.0)
tzinfo-data
wdm (~> 0.1.0)

BUNDLED WITH
1.12.5
5 changes: 5 additions & 0 deletions config.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Build-specific configuration
configure :build do
activate :minify_css
activate :minify_javascript
end
1 change: 1 addition & 0 deletions source/images/middleman-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions source/index.html.erb
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
title: Welcome to Middleman
---

<div class="welcome">
<div class="logo">
<%= image_tag "middleman-logo.svg" %>
</div>
<h1>Middleman is Running</h1>
<p class="doc">
<%= link_to "Read Documentation Online", "https://middlemanapp.com", target: "_blank" %>
</p><!-- .doc -->
</div><!-- .welcome -->
1 change: 1 addition & 0 deletions source/javascripts/all.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
// This is where it all goes :)
20 changes: 20 additions & 0 deletions source/layouts/layout.erb
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<!doctype html>
<html>
<head>
<meta content="IE=edge" http-equiv="X-UA-Compatible">
<meta charset="utf-8">
<meta content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" name="viewport">

<!-- Use title if it's in the page YAML frontmatter -->
<title><%= current_page.data.title || "Middleman" %></title>

<link href='//fonts.googleapis.com/css?family=Lato:300,400' rel='stylesheet' type='text/css'>

<%= stylesheet_link_tag :site %>
<%= javascript_include_tag :all %>
</head>

<body class="<%= page_classes %>">
<%= yield %>
</body>
</html>
Loading

0 comments on commit 3cb87b3

Please sign in to comment.