Giter VIP home page Giter VIP logo

engineering.hackerearth.com's Introduction

Blog about engineering and product at HackerEarth. Visit engineering.hackerearth.com.

Introduction:

We write engineering blog posts whenever we build something cool, which is always. So every now and then we'll be writing engineering & news blog posts.

Setup:

Both Engineering blog and news blog have the same setup instructions. Please follow steps mentioned below to setup news blog locally:

  1. Make sure you have access to respective repositories.

  2. Clone the repository once you have access:

git clone https://github.com/HackerEarth/engineering.hackerearth.com.git
  1. As mentioned above we use Jekyll to power our news/engineering blog, install Jekyll using the following command:
sudo gem install jekyll

or

sudo apt install jekyll
  1. If you are unable to install jekyll, install rouge first
sudo gem install rouge
  1. You may need to install kramdown also.
sudo gem install kramdown
  1. Start the server by executing:
jekyll serve # It will start the server on: http://127.0.0.1:4000

To start the server on different port execute:

jekyll serve --port=5001 # It will start the server on: http://127.0.0.1:5001
  1. Server should be running now so setup is complete.

Q. How to write a new post or edit existing ones?

Please follow the instructions mentioned below to get started with writing news/engineering posts.

  1. I assume you have already cloned the respective repository, so navigate to that directory.

  2. There are two main sub directories (_posts and images) that you will be altering generally while adding or editing posts.

  3. If you do not know how to write markdown please learn: [[ http://markdown-guide.readthedocs.io/en/latest/basics.html | Markdown Basics ]]. This covers almost everything to write a beautiful news post.

  4. All markdown content (posts) goes to _posts directory and images goes to images. //Please check out how other posts have been written//.

  5. The name of markdown file starts with date. For example: For [[ http://news.hackerearth.com/2016/02/08/filter-candidates-easily-in-reports/ | this post ]] the filename is: 2016-02-08-filter-candidates-easily-in-reports.md.

  6. If you have already added your content to _posts/ named as 2016-05-26-demo-news-post.md, it will be accessible on: http://127.0.0.1:4000/2016/05/26/demo-news-post/.(No need to restart your server, just refresh your browser.)

Important Notes:

  1. Please make sure your news post is successfully rendering on your local before pushing it to master.

  2. Add as many images or/and videos possible to explain your content.

  3. Proof read your content again, you can take help from your peers.

engineering.hackerearth.com's People

Contributors

arindammanidas avatar chandransh avatar d-ne0 avatar djoos avatar importerror avatar jogjayr avatar kkaushik24 avatar koomar avatar lalitmohanchawla avatar lukasknuth avatar lzcabrera avatar manojgowda avatar mjpieters avatar plusjade avatar pradeep1288 avatar praveen97uma avatar ravi-ojha avatar rnavaneeth avatar sachingupta006 avatar sayanchowdhury avatar sdball avatar segfaultax avatar shhaumb avatar sstarr avatar studiomohawk avatar vattay avatar virendraj avatar vishalg0wda avatar vishnusosale avatar vivekp avatar

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.