diff options
author | Morgan Richomme <morgan.richomme@orange.com> | 2017-08-11 12:14:01 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-08-11 12:14:01 +0000 |
commit | be3f797263efd68c1b2258719b60457937f910e0 (patch) | |
tree | 513954d4fba39c524376af751f2aa8e533eb53b4 /utils/test/reporting/docker/web_server.sh | |
parent | 270d47819058ba5a2b36f71ddfb064e05653abeb (diff) | |
parent | 354afd448cefc348f185b9adc4b5e6d38f96a3b0 (diff) |
Merge "Initiate packetization of Testing reporting"
Diffstat (limited to 'utils/test/reporting/docker/web_server.sh')
-rwxr-xr-x | utils/test/reporting/docker/web_server.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/utils/test/reporting/docker/web_server.sh b/utils/test/reporting/docker/web_server.sh new file mode 100755 index 000000000..a34c11dd7 --- /dev/null +++ b/utils/test/reporting/docker/web_server.sh @@ -0,0 +1,16 @@ +#!/bin/bash +cp -r display /usr/share/nginx/html + + +# nginx config +cp /home/opnfv/releng/utils/test/reporting/docker/nginx.conf /etc/nginx/conf.d/ +echo "daemon off;" >> /etc/nginx/nginx.conf + +# supervisor config +cp /home/opnfv/releng/utils/test/reporting/docker/supervisor.conf /etc/supervisor/conf.d/ + +ln -s /usr/bin/nodejs /usr/bin/node + +# Manage Angular front end +cd pages && /bin/bash angular.sh + |