Skip to content

Alwolfram/techprimers.github.io

 
 

Repository files navigation

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.

Releases

No releases published

Packages

No packages published

Languages

  • HTML 99.3%
  • Shell 0.7%