Skip to content

Commit 79294fb

Browse files
committed
project init
0 parents  commit 79294fb

17 files changed

Lines changed: 286 additions & 0 deletions

File tree

.gitignore

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# See http://help.github.com/ignore-files/ for more about ignoring files.
2+
#
3+
# If you find yourself ignoring temporary files generated by your text editor
4+
# or operating system, you probably want to add a global ignore instead:
5+
# git config --global core.excludesfile ~/.gitignore_global
6+
7+
# Ignore bundler config
8+
/.bundle
9+
10+
# Ignore the build directory
11+
/build
12+
13+
# Ignore cache
14+
/.sass-cache
15+
/.cache
16+
17+
# Ignore .DS_store file
18+
.DS_Store
19+
20+
.idea/

.nojekyll

Whitespace-only changes.

CNAME

Whitespace-only changes.

Gemfile

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# If you have OpenSSL installed, we recommend updating
2+
# the following line to use "https"
3+
source 'http://rubygems.org'
4+
5+
gem 'middleman', '~>3.3.3'
6+
7+
# Live-reloading plugin
8+
gem 'middleman-livereload', '~> 3.3.4'
9+
10+
# Middleman-sprockets
11+
gem 'middleman-sprockets', '3.3.3'
12+
13+
# Middleman-deploy
14+
gem 'middleman-deploy', '~> 0.2.4'
15+
16+
# For faster file watcher updates on Windows:
17+
gem 'wdm', '~> 0.1.0', :platforms => [:mswin, :mingw]
18+
19+
20+
# Compass
21+
gem 'compass', '~> 0.12.6'
22+
23+
# Twitter Bootstrap
24+
gem 'bootstrap-sass', '~> 3.2.0.0'

Gemfile.lock

Lines changed: 133 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,133 @@
1+
GEM
2+
remote: http://rubygems.org/
3+
specs:
4+
activesupport (4.1.4)
5+
i18n (~> 0.6, >= 0.6.9)
6+
json (~> 1.7, >= 1.7.7)
7+
minitest (~> 5.1)
8+
thread_safe (~> 0.1)
9+
tzinfo (~> 1.1)
10+
bootstrap-sass (3.2.0.0)
11+
sass (~> 3.2)
12+
chunky_png (1.3.1)
13+
coffee-script (2.2.0)
14+
coffee-script-source
15+
execjs
16+
coffee-script-source (1.7.1)
17+
compass (0.12.6)
18+
chunky_png (~> 1.2)
19+
fssm (>= 0.2.7)
20+
sass (~> 3.2.19)
21+
compass-import-once (1.0.4)
22+
sass (>= 3.2, < 3.5)
23+
em-websocket (0.5.1)
24+
eventmachine (>= 0.12.9)
25+
http_parser.rb (~> 0.6.0)
26+
erubis (2.7.0)
27+
eventmachine (1.0.3)
28+
execjs (2.2.1)
29+
ffi (1.9.3)
30+
fssm (0.2.10)
31+
haml (4.0.5)
32+
tilt
33+
hike (1.2.3)
34+
hooks (0.4.0)
35+
uber (~> 0.0.4)
36+
http_parser.rb (0.6.0)
37+
i18n (0.6.11)
38+
json (1.8.1)
39+
kramdown (1.4.0)
40+
listen (1.3.1)
41+
rb-fsevent (>= 0.9.3)
42+
rb-inotify (>= 0.9)
43+
rb-kqueue (>= 0.2)
44+
middleman (3.3.3)
45+
coffee-script (~> 2.2.0)
46+
compass (>= 0.12.4)
47+
compass-import-once (= 1.0.4)
48+
execjs (~> 2.0)
49+
haml (>= 4.0.5)
50+
kramdown (~> 1.2)
51+
middleman-core (= 3.3.3)
52+
middleman-sprockets (>= 3.1.2)
53+
sass (>= 3.2.17, < 4.0)
54+
uglifier (~> 2.5)
55+
middleman-core (3.3.3)
56+
activesupport (~> 4.1.0)
57+
bundler (~> 1.1)
58+
erubis
59+
hooks (~> 0.3)
60+
i18n (~> 0.6.9)
61+
listen (~> 1.1)
62+
padrino-helpers (~> 0.12.1)
63+
rack (>= 1.4.5, < 2.0)
64+
rack-test (~> 0.6.2)
65+
thor (>= 0.15.2, < 2.0)
66+
tilt (~> 1.4.1, < 2.0)
67+
middleman-deploy (0.2.4)
68+
middleman-core (>= 3.0.0)
69+
net-sftp
70+
ptools
71+
middleman-livereload (3.3.4)
72+
em-websocket (~> 0.5.1)
73+
middleman-core (~> 3.2)
74+
rack-livereload (~> 0.3.15)
75+
middleman-sprockets (3.3.3)
76+
middleman-core (>= 3.2)
77+
sprockets (~> 2.2)
78+
sprockets-helpers (~> 1.1.0)
79+
sprockets-sass (~> 1.1.0)
80+
minitest (5.4.0)
81+
multi_json (1.10.1)
82+
net-sftp (2.1.2)
83+
net-ssh (>= 2.6.5)
84+
net-ssh (2.9.1)
85+
padrino-helpers (0.12.2)
86+
i18n (~> 0.6, >= 0.6.7)
87+
padrino-support (= 0.12.2)
88+
tilt (~> 1.4.1)
89+
padrino-support (0.12.2)
90+
activesupport (>= 3.1)
91+
ptools (1.2.4)
92+
rack (1.5.2)
93+
rack-livereload (0.3.15)
94+
rack
95+
rack-test (0.6.2)
96+
rack (>= 1.0)
97+
rb-fsevent (0.9.4)
98+
rb-inotify (0.9.5)
99+
ffi (>= 0.5.0)
100+
rb-kqueue (0.2.3)
101+
ffi (>= 0.5.0)
102+
sass (3.2.19)
103+
sprockets (2.12.1)
104+
hike (~> 1.2)
105+
multi_json (~> 1.0)
106+
rack (~> 1.0)
107+
tilt (~> 1.1, != 1.3.0)
108+
sprockets-helpers (1.1.0)
109+
sprockets (~> 2.0)
110+
sprockets-sass (1.1.0)
111+
sprockets (~> 2.0)
112+
tilt (~> 1.1)
113+
thor (0.19.1)
114+
thread_safe (0.3.4)
115+
tilt (1.4.1)
116+
tzinfo (1.2.1)
117+
thread_safe (~> 0.1)
118+
uber (0.0.7)
119+
uglifier (2.5.1)
120+
execjs (>= 0.3.0)
121+
json (>= 1.8.0)
122+
123+
PLATFORMS
124+
ruby
125+
126+
DEPENDENCIES
127+
bootstrap-sass (~> 3.2.0.0)
128+
compass (~> 0.12.6)
129+
middleman (~> 3.3.3)
130+
middleman-deploy (~> 0.2.4)
131+
middleman-livereload (~> 3.3.4)
132+
middleman-sprockets (= 3.3.3)
133+
wdm (~> 0.1.0)

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Middleman Template For Our Project
2+
Middleman Project Skeleton

VERSION.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
0.1.0

config.rb

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
###
2+
# Compass
3+
###
4+
5+
# Change Compass configuration
6+
# compass_config do |config|
7+
# config.output_style = :compact
8+
# end
9+
10+
###
11+
# Page options, layouts, aliases and proxies
12+
###
13+
14+
# Per-page layout changes:
15+
#
16+
# With no layout
17+
# page "/path/to/file.html", :layout => false
18+
#
19+
# With alternative layout
20+
# page "/path/to/file.html", :layout => :otherlayout
21+
#
22+
# A path which all have the same layout
23+
# with_layout :admin do
24+
# page "/admin/*"
25+
# end
26+
27+
# Proxy pages (http://middlemanapp.com/basics/dynamic-pages/)
28+
# proxy "/this-page-has-no-template.html", "/template-file.html", :locals => {
29+
# :which_fake_page => "Rendering a fake page with a local variable" }
30+
31+
###
32+
# Helpers
33+
###
34+
35+
# Automatic image dimensions on image_tag helper
36+
# activate :automatic_image_sizes
37+
38+
# Reload the browser automatically whenever files change
39+
# configure :development do
40+
# activate :livereload
41+
# end
42+
43+
# Methods defined in the helpers block are available in templates
44+
# helpers do
45+
# def some_helper
46+
# "Helping"
47+
# end
48+
# end
49+
50+
set :css_dir, 'assets/stylesheets'
51+
52+
set :js_dir, 'assets/javascripts'
53+
54+
set :images_dir, 'assets/images'
55+
56+
set :fonts_dir, 'assets/fonts'
57+
58+
set :haml, format: :html5
59+
60+
61+
# Build-specific configuration
62+
configure :build do
63+
# For example, change the Compass output style for deployment
64+
# activate :minify_css
65+
66+
# Minify Javascript on build
67+
# activate :minify_javascript
68+
69+
# Enable cache buster
70+
# activate :asset_hash
71+
72+
# Use relative URLs
73+
# activate :relative_assets
74+
75+
# Or use a different image path
76+
# set :http_prefix, "/Content/images/"
77+
end

helper/view_helpers.rb

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
module ViewHelpers
2+
def page(title)
3+
content_for :title do
4+
title
5+
end
6+
end
7+
end

source/assets/fonts/.keep

Whitespace-only changes.

0 commit comments

Comments
 (0)