summaryrefslogtreecommitdiffstats
path: root/utils/test/reporting/pages/angular.sh
blob: a7f167516d1a366b49ae73c410e0cc33d0e7ea8d (plain)
1
2
3
4
5
6
7
8
9
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