Visit the Junior Dev Struggle Bus website for more information on the organzation, and opportunities to contribute to the community!
In this post, we're forking a repo to our local Github repository and running the code locally.
Welcome to the exciting world of open source development! This post will outline how to get the project code on your local computer, so you can start coding.
The first step is to go to the repo from which we’re forking. On the top right above the code, we will see the option to fork.
We are prompted to choose where to fork the repo. We’ll choose our local.
Once the repo is forked onto our personal Github, let’s go to the repo. From here, click the Clone Or Download button.
Copy the web url that you’re presented.
In your terminal, navigate to the folder you want to pull the repo down to.
git clone, paste the copied url and run the line.
cd let’s cd into our newly create repo!
Now that you have the code locally, let’s confirm you can run it! Some projects require additional setup, which will vary based on the tech (python and virtual environments, node and node_moduels, etc).
In this example, our gatsby site runs on node.js, so we’ll go to the repo and run
npm install to pull down all the node packages listed in the
Once the packages pull down, We’ll run
gatsby develop, and the terminal tells us its running on our localhost.
Success! Happy hacking.