An Eclipse Orion server written in Node.js.
For full instructions, see the Getting Started guide.
npm install orion.
orion.conffile. Uncomment the following line, replacing the password with something of your choice:
This prevents unauthorized access to your Orion server.
npm start orionor
The port number can be changed by passing the
--port argument or setting the
PORT environment variable.
If you installed Orion as a global package with
npm install -g orion, you can run the command
orion from any directory (rather than
npm start orion as outlined above.)
Orion will then start using your current directory (or a directory you specify on the command line) as the location.
See the Getting Started guide for more details.
By default the server runs in single-user mode. Set
orion.single.user=false in the
to enable multiple users. This requires a MongoDB installation.
ssh://) will not work out of the box due to a Nodegit issue. You can work around this by editing
vendor/libgit2.gyp, obtaining a newer version of OpenSSL, and then rebuilding Nodegit from source.
require('orion') to get access to our startServer function, which is suitable for use within a larger Express project:
var orion = ;var express = ;var myapp =/* .use( additional handlers ) */
We use Mocha for our tests. Run
npm test or