Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A tumblog powered by Git and Markdown
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
assets
lib
posts
templates
test
.gitignore
Gemfile
Gemfile.lock
README.md
post-update-sample
rakefile

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

Something went wrong with that request. Please try again.