GitXplorerGitXplorer
b

rack-jekyll

public
72 stars
16 forks
0 issues

Commits

List of commits on branch master.
Unverified
42389f3dc97009b72dc2f57dabefc5eb0dcaa55c

fixed destination from config file not being used

tthedjinn committed 14 years ago
Unverified
ed6c13f6aa48fb7cd6eb0d172ccac8acc5f537ae

Fixed Content-type bug for 404 pages.

bbemurphy committed 14 years ago
Unverified
fe6139392edef837b52e630f16e994eee5dcd885

Updated gemspec

tthibaudgg committed 14 years ago
Unverified
dece0dbc5d5fa9f8ece58cb82d934e9ad9631de9

bump the version to 3.4.5

bbry4n committed 15 years ago
Unverified
d68a3c035ea938498257d1bfc11b99035e2e85c1

added support for 304s

sscottwater committed 15 years ago
Unverified
5b87d14b74e1104ffed529cdb1c09d51f04c2850

changed status code to 404 even if the 404.html exists

sscottwater committed 15 years ago

README

The README file for this repository.

Rack-Jekyll

Transform your Jekyll app into Rack application

  • Can run it with rackup and shotgun, unicorn, and more.

  • Can run rack-jekyll with any modified jekyll

  • Can deploy rack-jekyll on Heroku, EC2, Slicehost, Rackspace Cloud, Dedicated server, VPS, etc..

Heroku Demo: http://bry4n.heroku.com/

How to use it?

config.ru is required in order to run with shotgun and rackup. Even you can deploy your jekyll app to Heroku!

Copy this and put in config.ru in your jekyll's root directory.

config.ru:

require "rack/jekyll"

run Rack::Jekyll.new

That's it.

Heroku is a read-only filesystem:

You need to generate pages and git-add pages and git-commit before you deploy your jekyll to Heroku

1) cd to your jekyll directory

2) add config.ru (see example above)

3) build pages, type: jekyll

4) echo "rack-jekyll" > .gems

5) git init && git add .

6) git commit -m "first heroku app"

7) heroku create

8) git push heroku master

Initialization Options

:destination          - use the desintation path (default: _site)

Example:

run Rack::Jekyll.new(:destination => "mysite")

YAML Config

It now can read the _config.yml file for destination path. Read Jekyll Configuration

404 page

You can create a new file: 404.html with YAML Front Matter. See my Heroku Demo 404

Contribution

Contributing this is more than just welcome. Fork this and create a new branch then pull request.