AngularJS module for Kaazing AMQP 0.9.1 Gateway
Make sure you have these tools before trying out:
Npm, node package manager. Thanks to nvm to make
Bower, frontend package manager. Install it using
npm install -g bower.
The demo use cloud-hosted Kaazing AMQP WebSocket gateway:
wss://sandbox.kaazing.net (thanks for the amazing work!)
app/index.html in your browser, e.g.:
- Maximum row to show in table: 100
How to develop
It is better to add
./node_modules/.bin to your
PATH to shorten command execution.
I use grunt to setup livereload and provide
connect module to serve the page.
npm install to resolve all tools needed.
I still failed to make karma test working due to my lack of knowledge regarding unit test of promise on angular.
To develop with livereload, run
grunt to start the
connect server on localhost:9009 and
livereload addons/ extension for your favourite browser.
Don't forget to push the livereload button (usually located on right top and it mimick refresh button) on your browser to be notified by
grunt watch whenever there is file changed on
Start edit your files under
app folder and browser should be refreshed automatically.
To run functional test:
webdriver-manager start(on another console).
npm testto start the intern-runner.