From 60b07c9cb49db8dd7db883058f2d25fc1b93efc6 Mon Sep 17 00:00:00 2001 From: chenjiankun Date: Tue, 21 Mar 2017 14:48:54 +0000 Subject: Create Catalogue page JIRA: RELENG-193 1.create a page to list all project. 2.This page can get test case list of certain project. 3.This page can show information of certain test case. Change-Id: I79e0d3aafa99c054865a0d2948b99918802f32a7 Signed-off-by: chenjiankun --- reporting/pages/angular.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'reporting/pages/angular.sh') diff --git a/reporting/pages/angular.sh b/reporting/pages/angular.sh index a7f1675..080f27b 100755 --- a/reporting/pages/angular.sh +++ b/reporting/pages/angular.sh @@ -1,10 +1,12 @@ : ${SERVER_URL:='http://testresults.opnfv.org/reporting/api'} -echo "var BASE_URL = 'http://${SERVER_URL}/landing-page'" > app/scripts/app.config.js +echo "var BASE_URL = 'http://${SERVER_URL}/landing-page'" >> app/scripts/app.config.js +echo "var PROJECT_URL = 'http://${SERVER_URL}'" >> 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 +npm install -g grunt +npm install -g bower +bower install --force --allow-root grunt build -- cgit 1.2.3-korg