Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Orion/Selfhosting"

(Update the steps-- most of the workarounds are no longer necessary)
Line 1: Line 1:
 
This page explains the steps necessary to get set up for self-hosting on [http://orion.eclipse.org orion.eclipse.org]. This server is being used by the Orion committers to work on Orion itself.  
 
This page explains the steps necessary to get set up for self-hosting on [http://orion.eclipse.org orion.eclipse.org]. This server is being used by the Orion committers to work on Orion itself.  
  
#Log into [http://boris.orion.eclipse.org:8080 boris.orion.eclipse.org:8080]. Reload three times to get the links in the header. (three times? you must be kidding me!)<br>[The reason for logging into Orion at the subdomain is because the user profile page at orion.eclipse.org itself is broken.]
+
#Log into [http://orion.eclipse.org orion.eclipse.org].
#Go to your user profile page. Enter your committer email and name at the bottom and save. This is important to do first so that Git commits are made using your username so that they can be pushed back to git.eclipse.org.
+
#Go to your user profile page. Enter your committer email and name in the Git section and save. This is important to do first so that Git commits are made using your committer username and can therefore be pushed back to git.eclipse.org.
#Log out of boris.orion.eclipse.org and log into [http://orion.eclipse.org orion.eclipse.org]. You may have to clear local storage and reload three times again. (seriously? you gotta be kidding again!)
+
#Click on '''Repositories''' in the top banner, then click '''Clone Repository''' in the toolbar. In the URL field, enter ssh://myCommitterId@git.eclipse.org/gitroot/e4/org.eclipse.orion.client.git (replacing your committer id of course)
#Go to the navigator and create a new top-level folder called orion-client. Hover over the link for the folder, or click on it, to find out its internal name (something like "/file/x").
+
#You'll see a confirmation dialog asking you to accept the server's RSA key. Click '''Yes'''.
#Delete the .git subdirectory that is created inside your new folder.  (See https://bugs.eclipse.org/bugs/show_bug.cgi?id=346905 for details).
+
#Next a prompt will appear asking for your eclipse.org account name and ssh password. Enter them and click '''OK'''. (Alternately you can paste in your SSH private key if you've set up public-key authentication with eclipse.org).
#Click on "Repositories" in the header, then on "Clone" in the toolbar. In the first field, enter ssh://myCommitterId@git.eclipse.org/gitroot/e4/org.eclipse.orion.client.git (replacing your committer id of course), and in the second field, enter /file/x, replacing x with the internal name of the folder you created. (internal name of the folder? why must this be so hard?)
+
#Wait for a moment while the repository is cloned. The toolbar area will let you know when it's done.
#You will get a prompt asking you for your eclipse.org account name and ssh password. The toolbar area will let you know when the clone is done.  
+
#Go back to the Navigator, and verify that a new folder was created called <tt>org.eclipse.orion.client</tt>, and that it contains the Orion client code.
#Go back to the Navigator, and confirm that the repository has been cloned properly.
+
#Click on the '''Sites''' link in the header, and create a new site configuration. Enter any name. On the page for the site configuration, click on the '''Add...' button and then '''while holding the Shift key''', select <tt>org.eclipse.orion.client</tt> from the menu that appears. This hidden feature will create the necessary entries for self-hosting.  
#Log out and log back into [http://boris.orion.eclipse.org:8080 boris.orion.eclipse.org:8080]. Creating the site configuration is another thing that had a bug on orion.eclipse.org that is fixed in the inner.  
+
#Click on the "Sites" link in the header, and create a new site configuration. Enter any name. On the page for the site configuration, click on the dropdown and then '''while holding the Shift key''' select the top-level folder that you just cloned into. This hidden feature will create the necessary entries for self-hosting.  
+
 
#Start the site configuration by clicking on "Start" in the toolbar.  
 
#Start the site configuration by clicking on "Start" in the toolbar.  
#Now you can log into your own instance&nbsp;:-)
+
#Now you can log into your new instance :-)

Revision as of 12:14, 23 June 2011

This page explains the steps necessary to get set up for self-hosting on orion.eclipse.org. This server is being used by the Orion committers to work on Orion itself.

  1. Log into orion.eclipse.org.
  2. Go to your user profile page. Enter your committer email and name in the Git section and save. This is important to do first so that Git commits are made using your committer username and can therefore be pushed back to git.eclipse.org.
  3. Click on Repositories in the top banner, then click Clone Repository in the toolbar. In the URL field, enter ssh://myCommitterId@git.eclipse.org/gitroot/e4/org.eclipse.orion.client.git (replacing your committer id of course)
  4. You'll see a confirmation dialog asking you to accept the server's RSA key. Click Yes.
  5. Next a prompt will appear asking for your eclipse.org account name and ssh password. Enter them and click OK. (Alternately you can paste in your SSH private key if you've set up public-key authentication with eclipse.org).
  6. Wait for a moment while the repository is cloned. The toolbar area will let you know when it's done.
  7. Go back to the Navigator, and verify that a new folder was created called org.eclipse.orion.client, and that it contains the Orion client code.
  8. Click on the Sites link in the header, and create a new site configuration. Enter any name. On the page for the site configuration, click on the Add...' button and then while holding the Shift key, select org.eclipse.orion.client from the menu that appears. This hidden feature will create the necessary entries for self-hosting.
  9. Start the site configuration by clicking on "Start" in the toolbar.
  10. Now you can log into your new instance :-)

Copyright © Eclipse Foundation, Inc. All Rights Reserved.