tree: 7b22914e15d03f64f8b08bc0cbf9546afd0ef4c0 [path history] [tgz]
  1. app/
  2. express-data/
  3. bower.json
  4. Gruntfile.js
  5. Installation-steps.txt
  6. karma.conf.js
  7. package.json
  8. pom.xml
  9. README.md
  10. server.js
falcon-ui/README.md

Falcon-ui

Web UI to manage feeds, clusters and processes with the falcon REST API

Before starting

NodeJs , npm, Grunt must be installed in the local pc.

  • From git root cd to /falcon-ui

  • npm install (this will install all the app related node modules)

To test in the express server

  • grunt dev This will launch an express server with the falcon-ui to localhost:3000 (You can test there all UI related behaviours and express will mock all falcon REST calls)

To deploy to the sandbox (v2-2)

  • grunt deploy This will build and send to the sandbox /usr/hdp/2.2.0.0-913/falcon/webapp/falcon/public/ location the falcon webapp Then navigate to localhost:15000

!important - It is possible that you will need to add to the url /public like http://localhost:15000/public/ or replace /usr/hdp/2.2.0.0-913/falcon/webapp/falcon/index.html in the sandbox with incubator-falcon/html5-ui/index.html

To only build the app (in the /dist folder)

grunt build

To unit test Javascript grunt test

To end to end test grunt testE2E