Get involved with ILUGC
Contributing to ilugc.in
You can contribute to ilugc.in website by writing Blog posts in MarkDown. These are the steps to follow to write Blog Post,
- Login to Github using your github account credentials.
- Fork ilugc.in website repo into your account.
Before you clone your copy of ilugc.in website repo to your local machine, you need to install these required softwares,
Following commands will install Both requirements in Ubuntu 20.04
$ sudo apt install git hugo
Once you done installing the required packages, clone your copy of ilugc.in website repo like below (where foouser
is your Github username)
$ git clone --recurse-submodules git@github.com:foouser/ilugc.in.git
Once clone completed, ilugc.in directory will be created, go inside ilugc.in directory and run Hugo,
$ hugo server
Hugo will run by default in http://localhost:1313 address, keep Hugo running and start adding your blog post under content/post/year/ inside ilugc.in directory. The filename of your blog post should end with .md extension. Hugo will automatically show your blog post through http://localhost:1313. Here is one example blog post, this blog post is saved as “content/post/2020/example-blog-post-2020.md” under ilugc.in directory.
---
title: Example Blog Post
url: /example-blog-post
date: 2020-06-15T19:24:31+05:30
author: Foo
---
This is an Example Blog Post. The field **date** in the header is generated using `date -Iseconds` command.
Once you are satisfied with your blog post, commit your changes and push your changes into your own fork of ilugc.in website repo,
git add -A
git commit -m 'wrote my first blog post'
git push origin master
Finally create a pull request to upstream ilugc.in repo. People who maintain ilugc.in will look into your changes and merge your pull request.
Once your pull request merged, it will start appear in ilugc.in