-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #44 from mtking2/docs
Update README & add more docs
- Loading branch information
Showing
2 changed files
with
152 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
## Contributing | ||
|
||
Check [open issues](https://github.com/bbulpett/zebra-zpl/issues) for things that need work. | ||
Also check any [open pull requests](https://github.com/bbulpett/zebra-zpl/pulls) to make sure any changes you want to make haven't already been made by someone else. | ||
|
||
### Fork & clone the repository | ||
|
||
``` | ||
git clone [email protected]:<your-username>/zebra-zpl.git | ||
cd zebra-zpl | ||
git remote add upstream [email protected]:bbulpett/zebra-zpl.git | ||
bundle install | ||
``` | ||
|
||
Then check out a working branch: | ||
|
||
``` | ||
git checkout -b <my-working-branch> | ||
``` | ||
|
||
### Write tests | ||
|
||
This project uses `rspec`. After writing your tests, you can run tests with the following command: | ||
|
||
`bundle exec rspec` | ||
|
||
|
||
### Write code | ||
|
||
Write your code to make your tests pass. | ||
|
||
### Commit & Push your changes | ||
|
||
Commit and push your changes to your working branch. | ||
|
||
``` | ||
git commit -am 'Add some feature' | ||
git push origin <my-working-branch> | ||
``` | ||
|
||
### Open a pull request | ||
|
||
Open a pull request against upstream master and your working branch. Give a brief description of what your PR does and explain what the code changes do. | ||
|
||
Thank you! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters