← Revision 1 as of 2015-01-07 02:38:36
593
Comment:
|
← Revision 2 as of 2015-01-08 01:43:07 →
2170
|
Deletions are marked like this. | Additions are marked like this. |
Line 11: | Line 11: |
Go to [[https://github.com/cytoscape/cytoscape-samples]] and click on the ''Fork'' button. | Go to [[https://github.com/cytoscape/cytoscape-samples]] and click on the ''Fork'' button. After you've forked your repository, make sure to copy the GitHub repository URL to your clipboard. The URL should be something like `https://github.com/YOU/cytoscape-samples`. |
Line 20: | Line 20: |
=== 2. Import the GitHub Repository into Eclipse === In Eclipse, go to the ''File'' menu and choose ''Import''. {{attachment:import-menu-item.png}} <<BR>> <<BR>> <<BR>> <<BR>> <<BR>> Click the ''Git'' folder, then select ''Projects from Git''. Click ''Next''. {{attachment:projects-from-git.png}} <<BR>> <<BR>> <<BR>> <<BR>> <<BR>> Select ''Clone URI''. Click ''Next''. {{attachment:clone-uri.png}} <<BR>> <<BR>> <<BR>> <<BR>> <<BR>> In the ''URI'' field, paste the URL to your GitHub repository. Eclipse will infer all the other fields it needs to know about from the URI field. Click ''Next''. {{attachment:enter-uri.png}} <<BR>> <<BR>> <<BR>> <<BR>> <<BR>> You don't need to do anything in the ''Branch Selection'' dialog. Click ''Next''. {{attachment:skip-branch-selection.png}} <<BR>> <<BR>> <<BR>> <<BR>> <<BR>> You also don't need to do anything in the ''Local Destination'' dialog. Click ''Next''. {{attachment:skip-local-dist.png}} <<BR>> <<BR>> <<BR>> <<BR>> <<BR>> Select ''Import as general project''. Click ''Next''. {{attachment:as-general-project.png}} <<BR>> <<BR>> <<BR>> <<BR>> <<BR>> Okay! You're all done importing your GitHub repository. You'll see a new folder in the ''Package Explorer'' tab on the top-left called '''cytoscape-samples'''. {{attachment:imported-projects.png}} |
Setup for Cytoscape app development
Overview
Here we'll fork the Cytoscape samples repository on GitHub and import it in Eclipse. The Cytoscape samples repository contains many example apps that we'll work through later in the ladder. By forking the repository, you'll create a copy of the repository for yourself that you can commit to.
Process
1. Fork the repository
Go to https://github.com/cytoscape/cytoscape-samples and click on the Fork button. After you've forked your repository, make sure to copy the GitHub repository URL to your clipboard. The URL should be something like https://github.com/YOU/cytoscape-samples.
2. Import the GitHub Repository into Eclipse
In Eclipse, go to the File menu and choose Import.
Click the Git folder, then select Projects from Git. Click Next.
Select Clone URI. Click Next.
In the URI field, paste the URL to your GitHub repository. Eclipse will infer all the other fields it needs to know about from the URI field. Click Next.
You don't need to do anything in the Branch Selection dialog. Click Next.
You also don't need to do anything in the Local Destination dialog. Click Next.
Select Import as general project. Click Next.
Okay! You're all done importing your GitHub repository. You'll see a new folder in the Package Explorer tab on the top-left called cytoscape-samples.