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.
Difference between revisions of "Orion/How Tos/How To Enable Collaboration"
(Created page with "== Setup hub server == * Checkout git repository: https://github.com/itsAmr/orion.hub_server.git * Go to ''config.js'' and change ''jwt_secret'' to any secret string. * Ru...") |
|||
Line 10: | Line 10: | ||
* Go to ''orionode.client/defaults.pref''. Add the following line in the ''./plugin'' section: | * Go to ''orionode.client/defaults.pref''. Add the following line in the ''./plugin'' section: | ||
"collab/plugins/collabPlugin.html": true | "collab/plugins/collabPlugin.html": true | ||
+ | * Then go to ''bundles/org.eclipse.orion.client.ui/web/edit/collaboration''. Run | ||
+ | npm install | ||
+ | grunt build | ||
* Run Orion server. | * Run Orion server. | ||
Revision as of 13:36, 18 January 2017
Setup hub server
- Checkout git repository:
https://github.com/itsAmr/orion.hub_server.git
- Go to config.js and change jwt_secret to any secret string.
- Run it.
Setup Orion (node)
- Go to orion.conf. Disable single user mode. Then change orion.jwt.secret to the same secret string as you set for the hub server.
- Make sure mongodb server is running.
- Go to orionode.client/defaults.pref. Add the following line in the ./plugin section:
"collab/plugins/collabPlugin.html": true
- Then go to bundles/org.eclipse.orion.client.ui/web/edit/collaboration. Run
npm install grunt build
- Run Orion server.
Try collaboration
There are two users A and B.
- A: Right click on a project and select Share Project. Type the user name of B in the pop-up window.
- B: Go to Shared Workspace. If A did his work correctly, B should see A's shared project.
- Edit files in this project together.