-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The new site was built in another repo (madrailers/sample-app) and then moved in-place to the main madrailers.github.io repo.
- Loading branch information
Zachery Moneypenny
committed
Feb 11, 2014
1 parent
7100dee
commit 7a6b8ca
Showing
50 changed files
with
26,439 additions
and
2 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,7 @@ | ||
.DS_Store | ||
.idea | ||
/node_modules | ||
/.grunt | ||
/.ruby-version | ||
/.ruby-gemset | ||
/.sass-cache | ||
/dist | ||
/.bundle |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
language: node_js | ||
node_js: | ||
- '0.10' | ||
branches: | ||
only: | ||
- master | ||
|
||
before_install: | ||
- gem install bundler | ||
- bundle --without=development | ||
- npm install -g grunt-cli | ||
|
||
script: | ||
- grunt build | ||
|
||
after_success: | ||
# Setup SSH key to push to github | ||
- echo -n $id_rsa_{00..30} >> ~/.ssh/id_rsa_base64 | ||
- base64 --decode --ignore-garbage ~/.ssh/id_rsa_base64 > ~/.ssh/id_rsa | ||
- chmod 600 ~/.ssh/id_rsa | ||
- echo -e "Host github.com\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config | ||
- git config --global user.name "Bradley Grzesiak" | ||
- git config --global user.email "[email protected]" | ||
- grunt deploy | ||
|
||
env: | ||
global: | ||
- secure: "PXetEqtBwfpZYfeU/63Jfi/Um/rKNRJ5sSiZq9eF7WSttncvsQTWVdgbgwlZmB7yHN68xeePkvu8eB5uIx6lG72VshxxUBfg+nEx33bPAaLPlou8jp3eqsCQLI7Xm87wXbUt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YG6tK5PO20bZlwK//XpkcKbbHdL6En3tx6qwG2n/Sn3Xa+9IpGaz0k=" | ||
- secure: "VR0cayzyOEoecUR81EObNtQkEO3Ai1fmzvqLe9E/ezF5gki6HoUHL+pgqr0derCv9qac+JUWWiwcB5v2MZEwqS6iaTstnw70h3rEEAJruYjp3aTeT+YNgGZ4vHTpvgCjQx6laTH/qYIVMvpowVES2oE2QJT+sPLyLPvErkrKgtI=" | ||
- secure: "MpNn2F1bfhFYxD6oXa57aTLIPtTuwLyHnyZocaOTlREwJLSgqSf0mqcBJtsqFd83ZyxrghMk73aaHbQ38udpf+wr18iktBKg+DW1zlv1oEAP4CCIrkzZkJosUIG0HN8t0eVmr2G4odJsuiNgm6h+ci5HF2adViUjfVtP+XVf+EI=" | ||
- secure: "UXeVy74yjvdGQkgGAcG70iFVfQn4SkXjpp2NVZUEP86AqB/XSXnnIlQ1C85L2hXCznsuKhLuWwTMw29bcpfYIiwZZr4NNzn+yekvNmhDjmytPU6dsHlv8wzNcf9+F50h4tIZoTXvGiTHpt1d+iU5c+G4Vk/CV6j8lkhS8pzF/pk=" | ||
- secure: "C34SgSmJ71kI2A5ThgBJdrMRdnYskkHWFozFMgN5hh76V1UiMQ/rJaQBz35rlvLUCQO7qDek652F330W+CMQtHZO2XTXtO8X2yyAr8RnpzGAnyzBpAtzwRfNQMB9AeChSX87+MJ+6mskrvu4V3GsPbypxQbO9pUm5y/AQdm+fJk=" | ||
- secure: "dlQM6AnUeM7vs3ggQMR+TOowIeWWXYuV927rfaeJix5h5dCH1Q+y9bMaBqvp/ugoXSvNXGvCnj4CSAggAFqwmiSbKHbTlIC25WmYzmIVM7Smj/g9J44hr7M7vop8oT+y3iFpKwropnoNPtBf+lJ1FT4bJrr7vdoZFt4qSvAHvwk=" | ||
- secure: "n/QIrm1sDdPuLSq5SJHy36CcTkSfC9NiKpL0ljg12Uw86BIaKPKwK+AXhsnDJQDA1ECE2ihoWpZBzYu2lK9Mwvj6OXW0xHprjLu5QxvW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ETTGA9STVMCJ2PlImjfSj9NN9meSvt/VwCMf//4OAtuJPmQafO18Ym5YV466YfMTSHCE6X4MW34hccO4UQLmKcD1m25o=" | ||
- secure: "eG0Bus3zszGYqlZip0nntcQiKzxY8eLX/pKMEgH4BAGVsgqgGAmcOepbjG8JEPj2uzmLptqEkzh91dW2vkDeo4e4Iwonz5wRvP2uwoBkoGpdsowpkk1jlnRVqHXU8Bm1DVDB9ArT8zvhcPXR8e/FFG8tdAnRjnggc8VfRQJoEPc=" | ||
- secure: "E/PHqlJiCE4sCeiZ//IpJSIWR8UL9QUx2jN0IIenuQ1CQJ8baLHp9sgFgYn/87yC+u9TU6BtSz4AGwT4aW+pr480HDQrgXD/qrc/nIkQSXqtJrQ+YfmmqbkRfmAKMTTAb/HRI/qIs7DJ+CggFDB+GjvMQoa16fUEXxXDHl+MxU8=" | ||
- secure: "dazA791ieZSHd1HMuwdndGAD++BUW5NB6H/DbSsQtr6BBW2htjK8VVdFUA0i4dV2RVMKq6d0pf5XSiHoicxKKeGMF7ToZjPlT8SwUKdGntsCe6w8kZ5CfEOAMmTZqQf5/ENHOTCKOuLeKOJSNlY1qjP2Hfpj7JChxcn12WoRhOg=" | ||
- secure: "aPFegLi//TJB7JYt3TFQAzp1seSd8DaWxBDIrz3bxUOy7r4blfP+aZkQMuKpL2EhpyPwsPZ6bZ9K/QzvrAmn0gMnBg+DUP5dQ37/+eK33yPL5ydwBp2m6MAkl5i8/zWRMut+XNNMerhvG/6ZGOt2ofJ237ibElUEXbcHTO892EA=" |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
source "http://rubygems.org" | ||
|
||
gem 'compass' | ||
|
||
group :development do | ||
gem 'travis' | ||
end |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
GEM | ||
remote: http://rubygems.org/ | ||
specs: | ||
addressable (2.3.5) | ||
backports (3.4.0) | ||
chunky_png (1.2.9) | ||
coderay (1.1.0) | ||
compass (0.12.2) | ||
chunky_png (~> 1.2) | ||
fssm (>= 0.2.7) | ||
sass (~> 3.1) | ||
ethon (0.6.2) | ||
ffi (>= 1.3.0) | ||
mime-types (~> 1.18) | ||
faraday (0.8.9) | ||
multipart-post (~> 1.2.0) | ||
faraday_middleware (0.9.0) | ||
faraday (>= 0.7.4, < 0.9) | ||
ffi (1.9.3) | ||
fssm (0.2.10) | ||
gh (0.13.0) | ||
addressable | ||
backports | ||
faraday (~> 0.8) | ||
multi_json (~> 1.0) | ||
net-http-persistent (>= 2.7) | ||
net-http-pipeline | ||
highline (1.6.20) | ||
launchy (2.4.2) | ||
addressable (~> 2.3) | ||
method_source (0.8.2) | ||
mime-types (1.25.1) | ||
multi_json (1.8.4) | ||
multipart-post (1.2.0) | ||
net-http-persistent (2.9) | ||
net-http-pipeline (1.0.1) | ||
pry (0.9.12.4) | ||
coderay (~> 1.0) | ||
method_source (~> 0.8) | ||
slop (~> 3.4) | ||
pusher-client (0.4.0) | ||
websocket (~> 1.0.0) | ||
sass (3.2.14) | ||
slop (3.4.7) | ||
travis (1.6.6) | ||
addressable (~> 2.3) | ||
backports | ||
faraday (~> 0.8.7) | ||
faraday_middleware (~> 0.9) | ||
gh (~> 0.13) | ||
highline (~> 1.6) | ||
launchy (~> 2.1) | ||
pry (~> 0.9) | ||
pusher-client (~> 0.4) | ||
typhoeus (~> 0.6) | ||
typhoeus (0.6.7) | ||
ethon (~> 0.6.2) | ||
websocket (1.0.7) | ||
|
||
PLATFORMS | ||
ruby | ||
|
||
DEPENDENCIES | ||
compass | ||
travis |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,153 @@ | ||
/*global module:false*/ | ||
module.exports = function(grunt) { | ||
|
||
var repo_slug = 'madrailers/sample-app'; | ||
|
||
// Project configuration. | ||
grunt.initConfig({ | ||
// Metadata. | ||
pkg: grunt.file.readJSON('package.json'), | ||
banner: '/*! <%= pkg.title || pkg.name %> - v<%= pkg.version %> - ' + | ||
'<%= grunt.template.today("yyyy-mm-dd") %>\n' + | ||
'<%= pkg.homepage ? "* " + pkg.homepage + "\\n" : "" %>' + | ||
'* Copyright (c) <%= grunt.template.today("yyyy") %> <%= pkg.author.name %>;' + | ||
' Licensed <%= _.pluck(pkg.licenses, "type").join(", ") %> */\n', | ||
requirejs: { | ||
compile: { | ||
options: { | ||
baseUrl: "./", | ||
appDir: "src/javascripts", | ||
dir: "dist/js", | ||
modules: [ | ||
{ name: 'main' } | ||
], | ||
|
||
paths: { | ||
jquery: "vendor/jquery", | ||
backbone: "vendor/backbone", | ||
marionette: "vendor/backbone.marionette", | ||
underscore: "vendor/underscore", | ||
json: "vendor/json2", | ||
text: "vendor/text", | ||
handlebars: "vendor/handlebars", | ||
moment: "vendor/moment-with-langs.min" | ||
}, | ||
|
||
shim: { | ||
jquery : { | ||
exports : 'jQuery' | ||
}, | ||
underscore : { | ||
exports : '_' | ||
}, | ||
backbone : { | ||
deps : ['jquery', 'underscore'], | ||
exports : 'Backbone' | ||
}, | ||
marionette : { | ||
deps : ['jquery', 'underscore', 'backbone'], | ||
exports : 'Marionette' | ||
}, | ||
handlebars: { | ||
exports: 'Handlebars' | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
|
||
markdown: { | ||
all: { | ||
files: [ | ||
{ | ||
expand: true, | ||
cwd: 'src/markdown', | ||
src: '**/*.md', | ||
dest: 'dist/', | ||
ext: '.html' | ||
} | ||
], | ||
options: { | ||
template: 'src/templates/template.jst' | ||
} | ||
} | ||
}, | ||
|
||
'gh-pages': { | ||
options: { | ||
base: 'dist', | ||
repo: '[email protected]:' + repo_slug + '.git' | ||
}, | ||
src: ['**'] | ||
}, | ||
|
||
clean: { | ||
all: ["dist"], | ||
js: [ | ||
"dist/js/**/*.js", | ||
"dist/js/**/*.html", | ||
"!dist/js/main.js", | ||
"!dist/js/vendor/require.js" | ||
] | ||
}, | ||
|
||
copy: { | ||
main: { | ||
files: [ | ||
{expand: true, cwd: 'src', src: ['index.html'], dest: 'dist/', filter: 'isFile'}, | ||
{expand: true, cwd: 'src/images', src: ['**'], dest: 'dist/img'} | ||
] | ||
} | ||
}, | ||
|
||
compass: { | ||
dist: { | ||
options: { | ||
sassDir: 'src/stylesheets', | ||
cssDir: 'dist/css', | ||
outputStyle: 'compressed', | ||
environment: 'production' | ||
} | ||
} | ||
}, | ||
|
||
watch: { | ||
markdown: { | ||
files: ['src/markdown/**/*.md', 'src/templates/template.jst'], | ||
tasks: ['markdown'] | ||
}, | ||
copy: { | ||
files: ['src/index.html', 'src/images/**'], | ||
tasks: ['copy'] | ||
}, | ||
compass: { | ||
files: ['src/stylesheets/**/*.scss'], | ||
tasks: ['compass'] | ||
}, | ||
js: { | ||
files: ['src/javascripts/**/*.js'], | ||
tasks: ['requirejs'] | ||
} | ||
} | ||
}); | ||
|
||
// These plugins provide necessary tasks. | ||
// grunt.loadNpmTasks('grunt-contrib-concat'); | ||
// grunt.loadNpmTasks('grunt-contrib-uglify'); | ||
// grunt.loadNpmTasks('grunt-contrib-qunit'); | ||
// grunt.loadNpmTasks('grunt-contrib-jshint'); | ||
grunt.loadNpmTasks('grunt-contrib-watch'); | ||
grunt.loadNpmTasks('grunt-contrib-copy'); | ||
grunt.loadNpmTasks('grunt-contrib-clean'); | ||
grunt.loadNpmTasks('grunt-contrib-compass'); | ||
grunt.loadNpmTasks('grunt-contrib-requirejs'); | ||
grunt.loadNpmTasks('grunt-markdown'); | ||
grunt.loadNpmTasks('grunt-gh-pages'); | ||
|
||
// Default task. | ||
// grunt.registerTask('default', ['jshint', 'qunit', 'concat', 'uglify']); | ||
grunt.registerTask('default', ['copy', 'requirejs', 'clean:js', 'markdown', 'compass']); | ||
grunt.registerTask('build', ['clean', 'copy', 'markdown', 'compass']); | ||
grunt.registerTask('deploy', ['gh-pages']); | ||
grunt.registerTask('autobuild', ['build', 'deploy']); | ||
}; |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# MadRailers.org | ||
|
||
The code base for MadRailers.org. | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"name": "sample-app", | ||
"version": "0.1.0", | ||
"homepage": "http://madrailers.github.io/sample-app", | ||
"engines": { | ||
"node": ">= 0.10.0" | ||
}, | ||
"author": { | ||
"name": "Future Gadget Laboratory" | ||
}, | ||
"devDependencies": { | ||
"grunt": "~0.4.2", | ||
"grunt-contrib-jshint": "~0.7.2", | ||
"grunt-contrib-watch": "~0.5.3", | ||
"grunt-contrib-qunit": "~0.3.0", | ||
"grunt-contrib-concat": "~0.3.0", | ||
"grunt-contrib-uglify": "~0.2.7", | ||
"grunt-contrib-copy": "0.5.0", | ||
"grunt-contrib-clean": "0.5.0", | ||
"grunt-markdown": "~0.4.0", | ||
"grunt-gh-pages": "~0.9.0", | ||
"grunt-contrib-compass": "~0.7.0", | ||
"grunt-contrib-requirejs": "~0.4.1" | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.