rpbouman/xmla4js — pull request #1 by latinojoel (2013-06-13 14:15:12+00:00)
Title: Node.js module implementation

Hi Roland,

The xmla4js source code to publish on npmjs is implemented. However, I don't have a good Pentaho environment configured using ApacheProxy (https://code.google.com/p/xmla4js/wiki/SettingUpAnApacheProxy) to test.

To test this implementation, you only need run the command "node example-xmla4js-nodejs-app.js" on examples folder. This "example-xmla4js-nodejs-app.js" file is very similar with "REST-for-analysis.js" file, you can check, the difference is only the path to use the module (examples/node_modules/xmla4js/).

So, if this code works for you, to publish your module you need only the following steps:

1) Install node.js
2) Create an account on https://npmjs.org
3) Inside of main folder project you need do this command: "npm adduser" (provide username & email address)
4) Run this command: "npm publish"

Note: To unpublish, you need run this command: "npm unpublish xmla4js@0.0.1"

I'll configure a machine to test better module and implement some unit tests.

Cheers,
JL