Giter Club home page Giter Club logo

openshift-jekyll-cartridge's Introduction

OpenShift Jekyll Cartridge

Pretty much everything seems to be working fine, but it can still use some testing.

If you find any issues, please log them in the issues section of the github project.

###How to use this cartridge

1.) Create a new application on OpenShift using this command:

rhc app create jekyll https://raw.github.com/kazuhisya/openshift-jekyll-cartridge/master/metadata/manifest.yml

2.) Git clone the repository that is associated with your OpenShift gear to your local machine (the create command should do this for you) 3.) Change directory (cd) into the cloned repository and run the following commands (you can also use bundle install to install the gems from the Gemfile)

gem install json jekyll

4.) Run the following command to run the Jekyll server in watch mode (updates your changes automatically) (if you are using bundler, run "bundle exec jekyll server --watch")

jekyll serve --watch

5.) Make changes and updates for your site 6.) git add new files, git commit, and git push 7.) Your OpenShift gear will take care of compiling your changes and building your site!

You do not need to upload your _site folder that is created by running jekyll serve locally, as it will be generated on the server. It is also in the .gitignore so that you won't accidently add it :)

It will take a few minutes to install all of the gems when the gear is initially created, so be patient, it will be faster when you do a git push.

P.S. This installation also supports pygments

openshift-jekyll-cartridge's People

Contributors

kazuhisya avatar coreydaley avatar developercorey avatar katiejots avatar bparees avatar

Watchers

 avatar  avatar

Forkers

33d

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.