Coder Social home page Coder Social logo

gojekyll's Introduction

GoJekyll

Intro

This is a simple Jekyll bootsrap package. It is widely inspired from JekyllBootstrap and Octopress. Although i really found these two projects are really neat, they seemed still a bit complicated to me. So i decided to build my own version.

GoJekyll does not nearly have all the fancy stuff you'd exepct from the two i mentionned above. It's only simple jekyll pre-packaged with:

  • Compass / Sass
  • Twitter Bootstrap
  • A custom _config.yml for fast and useful configuration
  • Redcarpet2 plugin to enable use of Github Flavored Syntaxt Highlighting and fenced code blocks
  • A Rakefile to spare boring tasks (create pages and posts, i.e compass watch and jekyll --server)

How to install / use

Simply clone this repo

$ git clone git://github.com/tobalsan/gojekyll.git myblog

If it's the first time you're going to use Jekyll, then you should make sure that:

  • you are using Ruby > 1.9.3
  • you installed the Jekyll gem: gem install Jekyll (you might have to run gem update --system first)
  • you have the Compass gem: gem install compass

GoJekyll also uses Bootstrap 3 with Compass, so you have to install the bootstrap-sass gem: gem install bootstrap-sass . (do NOT run compass install bootstrap like it's mentionned in the bootstrap-sass doc though, as it's been taken care of already).

From there, you're all set to go. Simple tasks are as following:

Create a post

Same as Jekyllbootstrap

$ rake post title="My awesome post"

Create a page

Same as post:

$ rake page title="My wonderful page"

Launch Jekyll preview server and compass watch

$ rake watch

This will launch both compass watch to check for any css modification, and jekyll build && jekyll serve --watch so you can preview your change at http://localhost:4000 while having Jekyll watch for anyc change you make in your source code.

Deployment

The static site is generated in the web folder. This folder is ignored by git, so to deploy, simply cd into the web directory, and do your stuff here. For example, if you plan to deploy with Git:

$ cd web/
$ git init
$ git remote add origin [email protected]:myusername/myusername.github.com.git
$ git add .
$ git commit
// ..etc

gojekyll's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.