GitXplorerGitXplorer
b

rack-jekyll

public
72 stars
16 forks
0 issues

Commits

List of commits on branch master.
Unverified
60658f1dbec55a702f2b9d1aef826e3ec27ac603

update gemfile

committed 15 years ago
Unverified
3d8849887971f904e376281de1dd90880c65de28

mispelled 'destination'

committed 15 years ago
Unverified
7ab0bb0f3e16f24d4e5e435cc288cfe9b1ef9430

fix the @config issue

committed 15 years ago
Unverified
72d38b7cddf786a611aafcd9a8e266eb384d3d0d

Merge branch 'master' of github.com:bry4n/rack-jekyll

committed 15 years ago
Unverified
4346d6a9cc01efa0a65687c5fe5287edce62cc01

0.3.4; fixed #4 -- thanks RyOnLife

committed 15 years ago
Unverified
96f86f0574d35707cbaee3d4fcf9d8b00d1adc28

fixed the [] error

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.