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
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 with a new markdown file under /content/contributors/
folder along with content similar to ajaykumars.md
file.
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
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
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.