Giter VIP home page Giter VIP logo

blog's Introduction

This repo contains eLitmus blog hosted on Github Pages. The blog is accessible over https://www.elitmus.com/blog/

Instructions for Developer:

This is what you need to do to set up a dev environment

# Clone this repo
git clone [email protected]:shireeshj/blog.git
cd blog

# install gems listed in Gemfile, including jekyll
bundle install

# install grunt cli tool
npm install -g grunt-cli

# install grunt and all other npm modules for processing assets
#   This command installs everything listed in package.json
npm install

You can create stub for a new blog post by running this command

rake new_post

This will ask for some information, such as title of the post, category name and tags. It will then generate a stub inside _drafts folder. You can add your content into the stub. Once your blog is read for publishing, run the following command

rake publish_post

This command will list all drafts and asks you to choose the one you wish to publish. It then moves the post from _drafts to _posts. You new blog post is now ready to go live!

Note 1: Everytime you change your javascript, stylesheet or image files, grunt needs to precompile those. Grunt can keep monitoring for changes and automatically carry out precompilation if you run grunt command in watch mode.

grunt watch

Note 2: As you may have noticed, we have two config files _config and _devconfig. As the name suggests _devconfig is for use in the development env. To make it easy to use this config file and to run jekyll also in watch mode, we have included a small shell script server.sh. If you run this script, jekyll will start in watch mode using the configuration file _devconfig. By default jekyll listens on localhost:4000/blog/. Point your browser to this url to see the blog site in action!

blog's People

Contributors

shireeshj avatar domitian avatar karannagpal avatar sivapraveentheone avatar duttaarijit avatar ryleysill93 avatar mukarramali avatar

Watchers

James Cloos avatar Akash Srivastava 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.