Code Monkey home page Code Monkey logo

siose-innova.github.io's Introduction

SIOSE-INNOVA website

Powered by Jekyll & Feeling Responsive.

Requirements

In order to reproduce this workflow it is necessary to have this software correctly installed:

Working with Git branches

This project has two git branches:

  1. The source branch contains the Jekyll project.
  2. The master branch publishes the website (gh-pages).

This approach is very convenient for using Jekyll plugins and deploy the website only when necessary.

Edit the Jekyll project

Use docker-compose.yml as:

  1. docker-compose up runs Jekyll with drafts and defaults.
  2. Edit your website contents (pages, posts, etc) and see your edits in the browser.
  3. Remember to docker-compose down when finished.
  4. git commit and git push your edits. Watch out! It is very IMPORTANT to git commit and git push your edits to the source branch before deploying your website

Publish the website to GitHub

Watch out! It is very IMPORTANT to git commit and git push your edits to the source branch before deploying your website

For deploying your website to GitHub you can do it by hand or using the deploy.sh script as follows:

bash deploy.sh

This script is going to:

  1. Make sure you're on the SOURCE branch
  2. jekyll build your site
  3. Copy the _site to a temporary folder
  4. Delete the remote and local MASTER branch
  5. Create a new MASTER branch
  6. Copy the temporary folder contents to this branch (MASTER)
  7. Push your site to GitHub (MASTER)
  8. Switch bach to the SOURCE branch

siose-innova.github.io's People

Contributors

acoard avatar alfredoua avatar benizar avatar brice avatar funkypenguin avatar gernest avatar gunharth avatar jjamor avatar mfernam avatar oefe avatar phlow avatar plutonik-a avatar quommit avatar rbdixon avatar rphaedrus avatar srenatus avatar torrespri avatar twisterrob avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

alfredoua

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.