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

Orion/How Tos/How To Run Real Shell

< Orion‎ | How Tos
Revision as of 14:06, 16 August 2017 by Xinyij.ca.ibm.com (Talk | contribs) (Created page with "== Run Node server with real shell enabled == * in bundles/org.eclipse.orion.client.ui/web/defaults.prefs, add the following line in the ''/plugin'' section: "collab/plugins/c...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Run Node server with real shell enabled

  • in bundles/org.eclipse.orion.client.ui/web/defaults.prefs, add the following line in the /plugin section: "collab/plugins/consolePlugin.html": true
  • in modules/orionode, run npm install node-pty
  • run Node Server

(Optional)Export Orion host Url to server app running in the shell with a specific port

So for example https://whateverHostUrl/orion is where Orion editor page is, then make https://whateverHostUrl/ direct to the app running in the Orion Shell with a pre-defined port number( When starting orion, user has to know which port number he want to use for the app runs in the shell)

  • in modules/orionode/orion.conf, give orion.proxy.port a value, like 3000, this is the pre-defined port number
  • in modules/orionode/orion.conf, set orion.context.listenPath to true
  • in modules/orionode/orion.conf give orion.context.path a path, like '/orion'.
  • run “npm install http-proxy”
  • run Node Server

Back to the top