|
| 1 | +Contributing to VTK-JS |
| 2 | +====================== |
| 3 | + |
| 4 | +This page documents at a very high level how to contribute to VTK-JS. |
| 5 | +Please check our [developer instructions] for a more detailed guide to |
| 6 | +developing and contributing to the project, and our [VTK-JS Git README] |
| 7 | +for additional information. |
| 8 | + |
| 9 | +1. The VTK-JS source is maintained on Github |
| 10 | + at https://github.com/kitware/vtk-js<br/> |
| 11 | + |
| 12 | +2. [Fork VTK] into your user's namespace on Github. |
| 13 | + |
| 14 | +3. Follow the [download instructions] to create a |
| 15 | + local clone of the main VTK repository: |
| 16 | + |
| 17 | + $ git clone https://github.com/kitware/vtk-js.git VTK |
| 18 | + $ cd vtk-js |
| 19 | + The main repository will be configured as your `origin` remote. |
| 20 | + |
| 21 | + For more information see: [Setup] |
| 22 | + |
| 23 | +4. Run the [developer setup script] to prepare your VTK-JS work tree: |
| 24 | + |
| 25 | + $ npm install |
| 26 | + |
| 27 | +5. Edit files and create commits (repeat as needed): |
| 28 | + |
| 29 | + $ edit file1 file2 file3 |
| 30 | + $ git add file1 file2 file3 |
| 31 | + $ git cz |
| 32 | + |
| 33 | + For more information see: [Create a Topic] |
| 34 | + |
| 35 | +6. Push commits in your topic branch to your fork in Github: |
| 36 | + |
| 37 | + $ git push |
| 38 | + |
| 39 | + For more information see: [Share a Topic] |
| 40 | + |
| 41 | +7. Visit your fork in Github, browse to the "**Merge Requests**" link on the |
| 42 | + left, and use the "**New Merge Request**" button in the upper right to |
| 43 | + create a Merge Request. |
| 44 | + |
| 45 | + For more information see: [Create a Merge Request] |
| 46 | + |
| 47 | + |
| 48 | +VTK uses Github for code review and Travis-CI to test proposed |
| 49 | +patches before they are merged. |
| 50 | + |
| 51 | +Our [DevSite] is used to document features, flesh out designs and host other |
| 52 | +documentation as well as API. We have several [Mailing Lists] |
| 53 | +to coordinate development and to provide support. |
| 54 | + |
| 55 | +[VTK Git README]: Documentation/dev/git/README.md |
| 56 | +[developer instructions]: Documentation/dev/git/develop.md |
| 57 | +[Create an account]: https://gitlab.kitware.com/users/sign_in |
| 58 | +[Fork VTK]: https://gitlab.kitware.com/vtk/vtk/fork/new |
| 59 | +[download instructions]: Documentation/dev/git/download.md#clone |
| 60 | +[developer setup script]: /Utilities/SetupForDevelopment.sh |
| 61 | +[Setup]: Documentation/dev/git/develop.md#Setup |
| 62 | +[Create a Topic]: Documentation/dev/git/develop.md#create-a-topic |
| 63 | +[Share a Topic]: Documentation/dev/git/develop.md#share-a-topic |
| 64 | +[Create a Merge Request]: Documentation/dev/git/develop.md#create-a-merge-request |
| 65 | + |
| 66 | +[DevSite]: http://kitware.github.io/vtk-js |
| 67 | +[Mailing Lists]: http://www.vtk.org/VTK/help/mailing.html |
0 commit comments