-
Notifications
You must be signed in to change notification settings - Fork 3
2 Instructions for Local Setup and Contribution
Kent Hinaloc edited this page Dec 16, 2022
·
3 revisions
- First, make sure you have the necessary tools installed on your local machine, including a text editor and a local server environment such as XAMPP or MAMP.
- Next, clone the repository to your local machine using the following command: git clone https://github.com/[USERNAME]/[REPOSITORY].git
- Navigate to the directory where the repository has been cloned and start your local server environment.
- Open the index.html file in your text editor and make any desired changes.
- Save your changes and view them by refreshing the webpage in your web browser.
- If you wish to contribute to the project, first create a fork of the repository using the "Fork" button on the GitHub page.
- Clone your fork of the repository to your local machine using the following command: git clone https://github.com/[USERNAME]/[REPOSITORY].git
- Create a new branch for your changes using the following command: git branch [BRANCHNAME]
- Switch to your new branch using the following command: git checkout [BRANCHNAME]
- Make your desired changes and commit them to your branch using the following commands:
git add . git commit -m "[COMMIT MESSAGE]"
- Push your changes to your fork of the repository using the following command: git push origin [BRANCHNAME]
- From your fork of the repository, create a pull request using the "New pull request" button on the GitHub page.
- When submitting an issue, be sure to provide a clear and descriptive title as well as a detailed description of the problem you are experiencing.
- When submitting a pull request, be sure to include a clear and concise description of the changes you have made and why they are necessary.
- Make sure your code follows the project's coding style and guidelines.
- Test your code thoroughly before submitting to ensure it is functional and does not introduce any new issues.