Last active
September 1, 2015 06:51
-
-
Save stjohnjohnson/1a4757ac680e6b614493 to your computer and use it in GitHub Desktop.
2015-09-01 Blog post on stj.me Raw
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
require 'rack/jekyll' | |
require 'yaml' | |
run Rack::Jekyll.new |
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
source 'https://rubygems.org' | |
ruby '2.2.3' | |
# JavaScript Exec tool | |
gem 'therubyracer' | |
# Jekyll and plugins | |
gem 'jekyll' | |
gem 'jekyll-timeago' | |
gem 'jekyll-gist' | |
# Markdown renderer | |
gem 'kramdown' | |
# Hosting for Heroku | |
gem 'rack-jekyll', :git => 'https://github.com/adaoraul/rack-jekyll.git' | |
gem 'puma' | |
# Makefile support :P | |
gem 'rake' |
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
web: bundle exec puma -t 8:32 -w 3 -p $PORT |
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
task :local do | |
system 'bundle exec jekyll serve -w' | |
end | |
namespace :assets do | |
task :precompile do | |
puts `bundle exec jekyll build` | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment