Hi there! We're thrilled that you'd like to contribute to this project. Your help is essential for keeping it great.
Contributions to this project are released to the public under the project's open source license.
By participating in this project you agree to abide by its terms.
For those wishing to try, clone this repository into your localhost folder and inside move to the leaflet-elevation folder
-
git clone https://github.com/raruto/leaflet-elevation
(inside your localhost folder, eg./var/www
) -
cd leaflet-elevation
-
npm i
-
npm run dev
After that you can start developing inside the src
and test
folders (open "http://localhost/leaflet-elevation/test" in your browser to see your changes).
- Fork and clone the repository
- Configure and install the dependencies:
npm i
- Make sure the tests pass on your machine:
npm t
- Create a new branch:
git checkout -b my-branch-name
- Make your change, add tests, and make sure the tests still pass
- Push to your fork and submit a pull request
- Pat your self on the back and wait for your pull request to be reviewed and merged.
Here are a few things you can do that will increase the likelihood of your pull request being accepted:
- Write tests.
- Keep your change as focused as possible. If there are multiple changes you would like to make that are not dependent upon each other, consider submitting them as separate pull requests.
- Write a good commit message.