Skip to content

A template for an SEO-friendly two-column blog-style website using the jekyll static website generator.

License

Notifications You must be signed in to change notification settings

first20hours/monograph

Repository files navigation

heroku-jekyll-blog

heroku-jekyll-blog

This repo contains a basic template for an SEO-friendly two-column blog-style website using the jekyll static website generator. The template is ready for customization and deployment on Heroku's Bamboo stack. Includes sane defaults for page caching, keywords, and canonical URLs.

Setup Instructions

Clone the repo:

$ git clone git@github.com:eurekaoverdrive/heroku-jekyll-blog.git

Navigate to the new directory and install all required Gems

$ bundle install

Edit _config.yml, content pages, layouts, includes, and application.rb settings as desired.

Deploy to Heroku

Add all files to a new Git repo:

$ git init .

$ git add -A

$ git commit -m "Initial commit"

Create a new Heroku application:

$ heroku create yourappname

Push the master Git branch to Heroku:

$ git push heroku master

Open your new Codex:

$ heroku open

Rake Utilities

The included Rakefile includes several commands that make life easier:

Create a draft post:

$ rake draft["Post Title"]

When you're ready to publish, move the file into the "_posts" folder.

Preview the website locally on your computer:

$ rake dev

This command runs jekyll --server --auto, which allows you to preview the site at http://localhost:5000.

Compile and commit the latest changes:

$ rake generate

This command runs jekyll, git add -A, and git commit -m "Committing latest jekyll build".

Push the compiled site to Heroku:

$ rake deploy

This command runs git push heroku master, which will publish the site.

Enjoy!

About

A template for an SEO-friendly two-column blog-style website using the jekyll static website generator.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages