RaiAnsar / techprimers.github.io

Source code for http://techprimers.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TechPrimers Open Source

Build Status Open Source Love License: MIT GitHub stars GitHub forks GitHub issues Contributors

This repository is the source code of https://techprimers.github.io/public

This is a opensource repository which you can fork. Raise a Pull Request by adding your name to get featured in https://techprimers.github.io/public/contributors/

Youtube video on Hugo Example

Online Edit

Edit with Gitpod

Checkout

The below steps are for checking out this codebase.

git clone https://github.com/TechPrimers/techprimers.github.io.git techprimers-repo
cd techprimers-repo
git submodule init
git submodule update

Add your name

Add your name with a new markdown file under /content/contributors/ folder along with content similar to ajaykumars.md file.

Install Hugo

You need hugo to create the Static HTML files based on the markdown files(*.md) which we have created. Steps for installing hugo can be followed from here

Run the site locally

You can run the site locally and see how the pages are reflected before committing/pushing the code.

cd techprimers-repo
hugo serve -D

This command will help in Live reloading of website once we update the Markdown files. The site will be available at http://localhost:1313

Creating final Static files

Run the hugo command to create static files under public/ folder.

cd techprimers-repo
hugo

Commit the public folder along with your markdown file and raise a pull request. -> This process is now automated using Travis CI.

Feel free to just add the .md file alone.

Motivation

Contribution brings happiness to world!

About

Source code for http://techprimers.github.io


Languages

Language:HTML 99.8%Language:Shell 0.2%