summaryrefslogtreecommitdiffstats
path: root/reporting/pages/angular.sh
diff options
context:
space:
mode:
Diffstat (limited to 'reporting/pages/angular.sh')
-rwxr-xr-xreporting/pages/angular.sh8
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