In Windows:
Chocolatey
Chocolatey is a free and open-source package manager for Windows. To install the extended edition of Hugo:
choco install hugo-extendedScoop
Scoop is a free and open-source package manager for Windows. To install the extended edition of Hugo:
scoop install hugo-extendedWinget
Winget is Microsoft’s official free and open-source package manager for Windows. To install the extended edition of Hugo:
winget install Hugo.Hugo.ExtendedIn Linux:
To install the extended edition of Hugo:
sudo snap install hugoTo enable or revoke access to removable media:
sudo snap connect hugo:removable-media
sudo snap disconnect hugo:removable-mediaTo enable or revoke access to SSH keys:
sudo snap connect hugo:ssh-keys
sudo snap disconnect hugo:ssh-keysIn macOS:
Homebrew
Homebrew is a free and open-source package manager for macOS and Linux. To install the extended edition of Hugo:
brew install hugoMacPorts
MacPorts is a free and open-source package manager for macOS. To install the extended edition of Hugo:
sudo port install hugoTo contribute to the development of our website, follow these steps:
-
Clone the Repository:
git clone https://github.com/SERVER-X-101/SERVER-X-101.git -
Install Dependencies:
npm i -
Start Localhost Server:
npm start -
Make Changes: Once the server is running, make your desired changes to the codebase.
-
Create a Pull Request: After making changes, create a pull request (PR) to merge your code into the main branch.
-
Resolve Issues: Ensure that your PR addresses and resolves any related issues by mentioning them in the PR description.
Thank you for contributing to our project!
For Articles:
- Navigate to the
contentdirectory. - Then to the
articlesdirectory. - Create a folder using snake_case with your article title, e.g.,
article_name. - Add an
imgfolder for images related to your article inside the created directory. - Add a
featured.pngfile for the card image of your article. - Create an
_index.md_file and add your article in Markdown format. - Inside
_index.md, use the following template format:
Articles template:
---
title: Article Title
description: Small Description for Your Article
author: Author Name
lastmod: 2024-03-18T00:00:00-00:00 (example)
github: link (if any GitHub link is available; otherwise, do not add)
tags:
- tag1
- tag2
---
From here, you can write your article...For Contests:
- Navigate to the
contentdirectory. - Then to the
contestsdirectory. - Create a folder using snake_case with your contest title, e.g.,
contest_name. - Add an
imgfolder for images related to your contest inside the created directory. - Add a
featured.pngfile for the card image of your contest. - Create an
_index.md_file and add your contest in Markdown format. - Add information about the contest, a small description, or any images if available.
- Create
problem_1.mdand add the first problem name of the contest inside thecontest_namedirectory that you created. - Similarly, create content for other problems.
- Inside each problem's Markdown file, use the following template format:
Contests template:
---
title: Contest Title
description: Small Description for Your Contest
author: Author Name
lastmod: 2024-03-18T00:00:00-00:00 (example)
practice: true | false (for contests which come under practice)
vignan-challenges: true | false (for contests which come under vignan challenges)
tags:
- tag1
- tag2
---
From here, you can write your article...If you want to contribute to the website layout:
- You can refer to the HUGO documentation for more information.
- You can use the
layoutdirectory for the layout of the website.
Thank you for your contribution!
