Sparky is a service that interacts with AAI and provides users a UI to view and analyze AAI data. The main goal behind Sparky is providing a more user friendly and clear view of AAI data.
This document covers cloning, installing, and running the front end (FE) portion of Sparky.
Repository name is sparky-fe
Install node.js, including the Node Package Manager (NPM). Installing latest should be fun, but if that is causing issues then v6.10.1 will work.
Install python, v2.7.13
Navigate to the top level project directory and run:
> npm install
To run the project:
> npm start
By default the local instance of the UI will be served to "https://localhost:8001/aai/#/browse".
This can be configured in the file "webpack.devConfig.js".
To build the project (generates a .war file):
> gulp build
The build will create a directory called "dist" and add the "aai.war" file into said dist directory.
If changes to the build flow are required, updating "webpack.config.js" and "gulpfile.js" will likely provide any build tuning required.
Sparky UI requires:
- Sparky instance that will serve the UI