-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Contributing Guide
-
Find a issue tagged with "help wanted" to work on. Please comment on the issue to let others know you are working on it.
-
Install the app on your local machine.
-
Fork and clone the app to your local machine, use this guide if you don't know how to do that
-
Set the upstream remote so you can keep your copy of the app synced with the original. To do that go to your terminal and
cd
into your cloned odin project app directory. Then use one of the following commands:If you have ssh set up with Git
$ git remote add upstream [email protected]:TheOdinProject/theodinproject.git
Otherwise
$ git remote add upstream https://github.com/TheOdinProject/theodinproject.git
-
Use one of the following operating system specific guides to set up the Odin Project app on your machine:
- Before you start working on your issue create a branch and name it like the following examples:
If its a new feature
$ git checkout -b feature/new-feature-name`
If its a bug fix
$ git checkout -b fix/fixed-bug-name
- When you have finished and are ready to submit a Pull request:
Before you submit your pull request ensure all the tests pass
rspec tests
$ rspec
cucumber tests
$ cucumber
Push your branch to your fork
$ git push origin <your branch name here>
Create a pull request
-
Go to your fork on Github after you have pushed up your branch. A new button should be visible near the top of the page. It will allow you to create a pull request to the original Odin Project Repo.
-
Please Link to the issue your pull request resolves in the body of your pull request.
Please let us know if you require any help doing any of the steps in this guide in our contributing channel on gitter
Wiki Home | Odin Web App Home | Odin Site Home | Odin Org Home
Want to contribute to this wiki? Open an issue to suggest changes and improve these docs 🚀