Turns out that lineman makes a great blogging engine!
Here's a screencast to demo usage for Test Double's blog, Double Takes.
Here's how to publish a new blog to the web in minutes:
- Clone into this repository
- Install lineman if you haven't yet.
- Run
npm install
to install required project dependencies. - Run
lineman run
while you work on writing markdown files underapp/posts
- Install heroku if you haven't, then run
heroku create --buildpack http://github.com/linemanjs/heroku-buildpack-lineman.git
- Commit your post and
git push heroku master
, and your blog is hosted on the web with apache2!
First, consider reading about grunt-markdown-blog, our grunt task that's doing almost all the heavy lifting here.
- Just add markdown posts with an ".md" extension to
app/posts
and when youlineman run
orlineman build
, they'll be rendered. - Configure your blog in
config/application.coffee
- Customize your blog templates in
app/templates
. - RSS is generated for you at
/index.xml
- Disqus support is included if you configure it.
- You can, of course, add any Less/CSS or CoffeeScript/JavaScript as you can with any other Lineman application. See Lineman's documentation.
- For more info on publishing with heroku, see details about Heroku & Lineman.
- To build static assets to deploy some other way, just run
lineman build
and put thedist
directory's contents somewhere.