Timecop.freeze(10.years.ago) apple = Investment.new(10000)
If only that worked in real life.
Installing was easy
Read the Jekyll Documentation – it’s beautiful.
- I have a Mac, so I already have
gem install jekylldownloads the code to run locally
jekyll new ibeckcreated my new
ibeckweb folder with sample files
jekyll build --watchcompiles my pages as I save them
jekyll servestarts a local web sever at
http://localhost:4000to preview the site
Enter a few simple settings in
title: iBeck.com email: email@example.com description: Ruminations on technology, faith, sports, food and life. Did I miss anything? twitter_username: ccmcbeck github_username: ccmcbeck markdown: kramdown
And I’m ready to start blogging!
Editing is fun
Just modify the sample post in the
_posts folder and follow the Jekyll Guide on Posts. Here is what the previous sentence looks like coded in
Just modify the sample post in `_posts` using `kramdown` following the [Jekyll Guide on Posts](http://jekyllrb.com/docs/posts/).
No HTML. No muss. No fuss.
jekyll compiles everything into your
_site folder which is thoughtfully included in your default
Deploying was easy
There are lots of ways to deploy a Jekyll site:
If you don’t have a server follow this recipe:
gem install s3_websiteto be able to deploy directly to S3
s3_website cfg createto generate an
- Enter your
- Enter your
s3_website cfg applyto connect to your S3 bucket
s3_website cfg pushto transmit your pages to S3
If you have a server follow this recipe:
rsync --compress --recursive --checksum --delete _site/ firstname.lastname@example.org:/public_html