-
Notifications
You must be signed in to change notification settings - Fork 4
zackchandler/squawk-micro
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
### Requirements ### Ruby Git Rake Erubis gem BlueCloth gem ### Get started ### Clone squawk-micro $ git clone git@github.com:zackchandler/squawk-micro.git $ cd squawk-micro Setup commit hook Edit .git/hooks/post-commit file to say: #!/bin/sh rake publish Set as executable $ chmod +x .git/hooks/post-commit Make posts in the posts/ directory in this format: posts/001-first-post or posts/002_second_post Commit changes $ git add . $ git commit -a -m 'Should auto-publish blog on commit' A site directory will be created on commit containing your published blog. Open site/index.html to see your blog. ### Rake ### You can also build via rake: $ rake publish
About
Micro-blog with erubis and markdown and auto-publishing with git commit hook (in about 20 lines of code)
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published