An Eclipse Orion server based on Node.js and connect.
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
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.
The Orion Node server has limited support for Orion's rich Git user interface. This is a brand new feature, so expect some incomplete workflows and rough edges. To try it out:
cdto the directory where you installed the Orion Node server. (If you installed from source,
npm install nodegit@~0.4.0
git:URLs does not work. HTTP/HTTPS does work.
origin/mastershown as "new branch" when it's not new.
require('orion') to get access to our startServer function, which is suitable for use within a larger connect project:
var orion = require'orion';var connect = require'connect';var myapp = connectuseorion workspaceDir: '.myworkspace'/* .use( additional handlers ) */
We use Mocha for our tests. Run
npm test or