| CARVIEW |
bry4n / rack-jekyll
- Source
- Commits
- Network (3)
- Issues (0)
- Downloads (6)
- Wiki (1)
- Graphs
-
Branch:
master
click here to add a description
click here to add a homepage
Pledgie Donations
Once activated, we'll place the following badge in your repository's detail box:
Transform your Jekyll app into Rack application! — Read more
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Thu Dec 17 09:56:06 -0800 2009 | ignore bin/ [bry4n] |
| |
Gemfile | Thu Dec 17 06:57:10 -0800 2009 | gemfile [bry4n] |
| |
LICENSE | Mon Jan 04 18:23:36 -0800 2010 | 2010 [bry4n] |
| |
README.markdown | Tue Jan 05 12:32:53 -0800 2010 | heroku [bry4n] |
| |
Rakefile | Sun Dec 20 13:52:34 -0800 2009 | more tests! [bry4n] |
| |
Thorfile | Fri Dec 18 17:59:09 -0800 2009 | thor git:commit fix [bry4n] |
| |
example/ | Fri Dec 25 11:38:20 -0800 2009 | indicate a status page when pages are currently... [bry4n] |
| |
features/ | Fri Dec 18 17:40:24 -0800 2009 | more stories for cukes [bry4n] |
| |
lib/ | Tue Feb 02 02:49:04 -0800 2010 | mispelled 'destination' [bry4n] |
| |
rack-jekyll.gemspec | Sat Dec 19 12:07:43 -0800 2009 | added version.rb to gemspec [bry4n] |
| |
spec/ | Sun Dec 20 13:27:18 -0800 2009 | renamed test/ to spec/ (bacon) [bry4n] |
| |
test/ | Sun Dec 20 14:00:52 -0800 2009 | more tests [bry4n] |
Rack-Jekyll
Transform your Jekyll app into Rack application
Can run rack-jekyll with any modified jekyll
Can deploy rack-jekyll on Heroku, EC2, Slicehost, Rackspace Cloud, Dedicated server, VPS, etc..
Heroku Demo: https://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.
