Differences between revisions 1 and 2
Revision 1 as of 2015-01-07 02:38:36
Size: 593
Editor: 192
Comment:
Revision 2 as of 2015-01-08 01:43:07
Size: 2170
Editor: 192
Comment:
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.

github-fork-repo.png






2. Import the GitHub Repository into Eclipse

In Eclipse, go to the File menu and choose Import.

import-menu-item.png






Click the Git folder, then select Projects from Git. Click Next.

projects-from-git.png






Select Clone URI. Click Next.

clone-uri.png






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.

enter-uri.png






You don't need to do anything in the Branch Selection dialog. Click Next.

skip-branch-selection.png






You also don't need to do anything in the Local Destination dialog. Click Next.

skip-local-dist.png






Select Import as general project. Click Next.

as-general-project.png






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.

imported-projects.png

Cytoscape_3/AppDeveloper/Cytoscape_App_Ladder/SetupCytoscapeAppDevelopment (last edited 2015-09-11 20:51:47 by 192)

Funding for Cytoscape is provided by a federal grant from the U.S. National Institute of General Medical Sciences (NIGMS) of the Na tional Institutes of Health (NIH) under award number GM070743-01. Corporate funding is provided through a contract from Unilever PLC.

MoinMoin Appliance - Powered by TurnKey Linux