summaryrefslogtreecommitdiffstats
path: root/utils/test/reporting/pages/angular.sh
blob: 080f27bb7604d301e8c6a4af138bcc19d7f25c49 (plain)
1
2
3
4
5
6
7
8
9
10
11
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 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
npm install -g bower
bower install --force --allow-root
grunt build