diff options
author | chenjiankun <chenjiankun1@huawei.com> | 2017-03-21 14:48:54 +0000 |
---|---|---|
committer | chenjiankun <chenjiankun1@huawei.com> | 2017-03-25 01:07:45 +0000 |
commit | 60b07c9cb49db8dd7db883058f2d25fc1b93efc6 (patch) | |
tree | 46c2413200057a0b4477ea11a2b735647d1d118e /reporting/pages/angular.sh | |
parent | 3bda241da0264a6a46cbda51f61931dd4299db20 (diff) |
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 <chenjiankun1@huawei.com>
Diffstat (limited to 'reporting/pages/angular.sh')
-rwxr-xr-x | reporting/pages/angular.sh | 8 |
1 files changed, 5 insertions, 3 deletions
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 |