-
Running on your local machine.
Paste the command below into your terminal:
git clone https://github.com/Rahat-ch/sketchalgorithms.git
Run one of the following commands to install all dependencies:
npm install
or
yarn add
Make sure to you have the gatsby CLI globally installed. You can install it with the below command:
npm install -g gatsby-cli
-
Start developing.
Start the application by running the below command
gatsby develop
-
Open the source code and start editing!
Your site is now running at
http://localhost:8000
!
Note: Gatsby comes preconfigured with hot reload. As long as you are running gatsby develop and save changes, you will automatically see the changes populate on your local version of the site.
-
Fork the Repository
Fork the repository and then follow the above instructions for running the code locally.
Create your own branch with the following command:
git checkout -b yourBranchName
-
Build your changes.
When you have completed your changes run the command below
gatsby build
Fix any potential build errors that may occur. Then serve the content to make sure the site is working as expected.
gatsby serve
-
Commit and Raise a Pull Request
Commit your changes to your fork and then raise a pull request(pr) to the relavent branch of the main repository. Be sure to reference the issue you are resolving in your message.