Visit the Junior Dev Struggle Bus website for more information on the organzation, and opportunities to contribute to the community!
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.
Forking a Repo
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.
Pulling the Repo Down to our Local Computer
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!
Running Your Code Locally
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.