Create Catalogue page
[releng.git] / utils / test / reporting / pages / angular.sh
index a7f1675..080f27b 100755 (executable)
@@ -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