Skip to content
A tumblog powered by Git and Markdown
HTML Ruby Shell CSS
Branch: master
Clone or download
Latest commit 45d3b7b Mar 7, 2015
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets Improve pagination Mar 7, 2015
lib Style updates Jun 13, 2012
posts New post: 'Seven' Dec 19, 2014
templates Improve pagination Mar 7, 2015
test Use Orph for orphans Oct 4, 2011
.gitignore SASS for great justice Dec 7, 2011
Gemfile Update build process Jul 22, 2014
Gemfile.lock Update build process Jul 22, 2014
README.md Creative Commons Aug 28, 2012
post-update-sample Add sample post-update hook Jan 15, 2011
rakefile Improve pagination Mar 7, 2015

README.md

Davidmade

This is a simple app to generate a Tumblr-style blog backed by a Git repo. It's what's powering http://davidmade.com. The site is automatically regenerated whenever I do a git push.

Requirements

This whole thing's done with Ruby and Rake. You'll need the Mustache, RDiscount, and Sass gems.

Running Locally

Run rake build to generate the static HTML pages. To view your site, run rake server, then head to http://localhost:8000 in your browser.

Any change you make to the content or site structure will require a new rake build.

Deployment

To deploy your site to a remote server, follow these instructions to set up a remote repo, then copy the included post-update-sample to .git/hooks/post-update (and chmod +x it to make it executable). If you're interested, here's some more info about what's going on with this hook.

With that in place, your site will rebuild every time you do a git push.

License

All design, code, and content is licensed under the Creative Commons Attribution License.

--

Thanks for checking out my code, and don't hesitate to drop me a line if you have any questions or suggestions for improvement.

David Eisinger

You can’t perform that action at this time.