Skip to content

Latest commit

 

History

History
61 lines (42 loc) · 2.79 KB

CONTRIBUTING.md

File metadata and controls

61 lines (42 loc) · 2.79 KB

Contributing to ghcertified

The easiest way to contribute is by opening an issue. No contribution is too small - we encourage you to report any typos, unclear questions or feature requests.

Setting up the project

Option 1: GitHub Codespaces

A Codespace is an online development environment that runs in the cloud and is powered by Visual Studio Code where all dependencies for developing this project are already setup for you.

Open in GitHub Codespaces

Once the Codespace installation is complete and you can go to forward port tab to see the link to the website running locally and start making content changes.

Option 2: Local setup (traditional)

If you've decided to not use GitHub Codespaces but instead want to run the project locally, follow the steps below.

  1. Fork the repository
  2. Install Hugo
  3. Update the submodules to install the theme used in this project
git submodule update --init --recursive
  1. Start the Hugo server to see your changes live at http://localhost:1313
hugo server

Content Changes

All of the site content in this repository is stored in content/ directory and is written in markdown.

Adding new question

Warning: We do not support the inclusion of questions directly copied from official GitHub certification exams. Please only submit original questions and content that you have created.

  1. Run one of the following commands to add a new question file. Change XXX to the next available number.
hugo new questions/actions/question-XXX.md
hugo new questions/admin/question-XXX.md
hugo new questions/advanced_security/question-XXX.md
hugo new questions/foundations/question-XXX.md

For example hugo new questions/actions/question-084.md

  1. Open the newly created file and fill in the question and answers.

Updating existing content

If you want to update existing content, simply find the file in the content/ directory and edit the markdown file.