Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Orion/How Tos/How To Enable Collaboration
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.