Git Product home page Git Product logo

blog's Introduction

CyberSecure blog

This is the source of the cybersecure blog.

STRUCTURE

  • This repositry has two branches: master & gh-pages

    • master - Make all the changes here, this should reflect any drafts or changes to style we need to make.
    • gh-pages - This is the published branch of the repo. Anything that is pushed to this branch on github will be published to the live site.
  • All the posts are located under _posts folder. Each individual file is a post in itself.

    • Post file needs the following parts
        ---
        layout: post
        title: title of the post
        ---
        p(meta). date of the publication - place of the publication ( this part is optional )
      
    • Each post file is named in the following pattern: year-month-date-title-of-the-post.textile
    • All the content is written in textile markup. Please read about it before writing a post.
  • All the changes can be seen live on the development machine by following this procedure.

    • Make the changes and start the server by running foreman start
    • Visit the webpage on port 4000 on the local machine.

HOW TO PUBLISH

Follow these steps to publish a new post:

  • Checkout branch master : git checkout master
  • Make a copy of one of the previous posts.
  • Change the name in the post pattern : year-month-date-title-of-the-post.textile
  • Change the title and the meta information for the post.
  • Write the post in textile markup and save the file.
  • Preview the changes by running the dev server foreman start and visiting http://storage1:4000.
  • Add the new file to git. git add .
  • Commit the changes to git git commit
  • Push the changes to github git push origin master
  • Checkout branch gh-pages : git checkout gh-pages
  • Merge the master branch into the gh-pages branch git merge master
  • Push the changes to github git push origin gh-pages

blog's People

Contributors

jaischeema avatar

Stargazers

CyberSecure avatar

Watchers

CyberSecure avatar James Cloos avatar

blog's Issues

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.