summaryrefslogtreecommitdiffstats
path: root/utils/test/reporting/pages/angular.sh
diff options
context:
space:
mode:
Diffstat (limited to 'utils/test/reporting/pages/angular.sh')
-rwxr-xr-xutils/test/reporting/pages/angular.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/utils/test/reporting/pages/angular.sh b/utils/test/reporting/pages/angular.sh
new file mode 100755
index 000000000..a7f167516
--- /dev/null
+++ b/utils/test/reporting/pages/angular.sh
@@ -0,0 +1,10 @@
+: ${SERVER_URL:='http://testresults.opnfv.org/reporting/api'}
+
+echo "var BASE_URL = 'http://${SERVER_URL}/landing-page'" > app/scripts/app.config.js
+
+apt-get install -y nodejs
+apt-get install -y npm
+npm install
+npm install -g grunt bower
+bower install --allow-root
+grunt build