Skip to content

Latest commit

 

History

History
44 lines (27 loc) · 3.16 KB

CONTRIBUTING.md

File metadata and controls

44 lines (27 loc) · 3.16 KB

How to Contribute

First of all thanks for taking the time and wanting to contribute to this project 👍🏼🎉

How can I start coding?

Before you start coding it is best to directly comment on the issue and tell everyone that you want to work on it. This prevents misunderstandings such that two persons start working on the same issue. We will then assign the issue to you as soon as possible.

Now that everyone knows that you wanna work on this issue you can start by forking the repository. This will create a copy of the repository on your GitHub account. After forking the repository you can clone it using the following command (be sure to use SSH). More info on how to clone a repository using SSH can be found here:

git clone --recurse-submodules [email protected]:iglance/iGlance.git

Installing the dependencies

After cloning your forked repository you have to install the dependencies of the project using CocoaPods and Carthage. To install the dependencies using both dependency managers you can execute the following command (including the parantheses) in the root directory (in the following called <root>) of the cloned repository:

(cd ./iGlance && pod install && cd ./iGlance && carthage update)

If you get an error during building the carthage libraries this might help you.

Setting up Xcode

To get started using Xcode you need to open the workspace file <root>/iGlance/iGlance.xcworkspace. To test if everything is setup correctly you can select the iGlance scheme at the upper left corner and run the app by clicking Product > Run. The app should be built now and start running. To setup Xcode correctly with CocoaPods you should see a warning saying "Update to recommended settings". By clicking on the warning and letting Xcode automatically update the project settings should fix the warning.

Now you are ready to start developing!🎉

Getting ready for development

We have a master and a development branch in this repository. The master branch is responsible for all the releases. We push to this branch only if we release a new version. The development (as the name suggests) is for developing. Therefore the next step is to create a new branch which is based on the development branch. To make it clear which issue is referenced by this branch your branch should be named after the following scheme:

feature/<github_issue-id>-<issue_name>
bug-fix/<github_issue_id>-<issue_name>

Now you can start coding 🎉💻🖥

Merging your code

After you finished implementing the feature you can create a new pull request. Please create a pull request that will merge the changes on your feature branch into the development branch in the main repository. Here you can find more info on how to create a pull request from your branch.