summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManisha Aggarwal <ma9181@att.com>2017-06-08 20:26:35 +0000
committerGerrit Code Review <gerrit@onap.org>2017-06-08 20:26:35 +0000
commit5fed021aeb1889139ae2dac72fd506424095228c (patch)
tree7d2cbc47333df25da963ed0092b82d33d3e37c39
parentdc5a5f77e7c6273133a7de7c5eefe88a9e6f9f2b (diff)
parentefe884fb213b1272dba67927bf42e64bb3e2fac7 (diff)
Merge "Adding readme file to the repo"
-rw-r--r--README.MD50
1 files changed, 50 insertions, 0 deletions
diff --git a/README.MD b/README.MD
new file mode 100644
index 0000000..f4ccee5
--- /dev/null
+++ b/README.MD
@@ -0,0 +1,50 @@
+# Sparky - Inventory UI Service
+
+## Overview
+_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_.
+
+## Getting Started
+
+### Building the _Sparky_ UI
+
+#### Clone the _Sparky_ FE repository
+
+Repository name is sparky-fe
+
+#### Install required tools
+
+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
+
+#### Install required packages
+
+Navigate to the top level project directory and run:
+
+ > npm install
+
+#### Run or Build the Project
+
+To run the project:
+
+ > npm start
+
+By default the local instance of the UI will be served to "https://localhost:8001/aai/#/viewInspect".
+
+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.
+
+## Dependencies
+
+_Sparky_ UI requires:
+
+- _Sparky_ instance that will serve the UI \ No newline at end of file