# Contributing to Medmark I would love for you to contribute to Medmark and help make it even better than it is today! As a contributor, here are the guidelines we would like you to follow: - [Setting Up Development Environment](#setting-up-development-environment) - [Commit Message Guidelines](#commit-message-guidelines) - [Adding Your Site to the Showcase](#adding-your-site-to-the-showcase) ## Setting Up Development Environment Follow this guide to set up the source code, development tools & other software. * [Mandatory Software & Tools](#mandatory-software-and-tools) * [Setting up Development Tools](#setting-up-development-tools) * [Setting up the Source Code](#setting-up-the-source-code) ### Mandatory Software & Tools To build and write code, make sure you have the following set of tools on your local environment. #### [Git](https://git-scm.com/downloads) * Description 🗒️ : Open source distributed version control system. * Download Link 🔗 : [https://git-scm.com/downloads](https://git-scm.com/downloads) #### [NodeJS](https://nodejs.org/en/download/) * Description 🗒️ : JavaScript runtime. * Version: LTS (Latest Stable Version) > **Warning** > This project requires atleast NodeJS **v14.6.x** or above to work. * Download Link 🔗 : [https://nodejs.org/en/download](https://nodejs.org/en/download) #### [pnpm](https://pnpm.io) * Description 🗒️ : Fast, disk space efficient package manager. * Version: Latest (**v7.9.5** or higher) * Download Link 🔗 : [https://pnpm.io/installation](https://pnpm.io/installation) ### Setting up Development Tools These developer tools will help you to have a better developer experience since they'll help with debugging code, etc. #### ESLint * Type 🧰 : IDE Extension * Description 🗒️ : Static code analysis tool for JavaScript. * Download Links 🔗 * [Download for Webstorm](https://www.jetbrains.com/help/webstorm/eslint.html) * [Download for VS Code](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint) #### ShellCheck * Type 🧰 : IDE Extension * Description 🗒️ : A shell script static analysis tool. Used by our static analyzer PR check. * Download Links 🔗 * [ShellCheck Core](https://github.com/koalaman/shellcheck#installing) * [Download for VS Code](https://github.com/vscode-shellcheck/vscode-shellcheck) ### Setting up the Source Code #### Fork the repo 1. [Fork](https://docs.github.com/en/github/getting-started-with-github/fork-a-repo) the repository. 2. Clone your fork to the local machine. Replace `` with your own username. ```shell git clone https://github.com//medmark.git ``` 3. Set the original repo as the upstream remote. ```shell git remote add upstream https://github.com/brionmario/medmark.git ``` #### Install the dependencies From the root of the project, execute the following command to install the project dependencies with `pnpm`. ```shell pnpm install ``` #### Build the project From the root of the project, execute the following command to build the project. ```shell pnpm build ``` ## Commit Message Guidelines *This specification is inspired by and supersedes the [AngularJS commit message format][commit-message-format].* We have very precise rules over how our Git commit messages must be formatted. This format leads to **easier to read commit history**. Each commit message consists of a **header**, a **body**, and a **footer**. ```