summaryrefslogtreecommitdiffstats
path: root/utils/test/reporting/docker/web_server.sh
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2017-08-11 12:14:01 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-08-11 12:14:01 +0000
commitbe3f797263efd68c1b2258719b60457937f910e0 (patch)
tree513954d4fba39c524376af751f2aa8e533eb53b4 /utils/test/reporting/docker/web_server.sh
parent270d47819058ba5a2b36f71ddfb064e05653abeb (diff)
parent354afd448cefc348f185b9adc4b5e6d38f96a3b0 (diff)
Merge "Initiate packetization of Testing reporting"
Diffstat (limited to 'utils/test/reporting/docker/web_server.sh')
-rwxr-xr-xutils/test/reporting/docker/web_server.sh16
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
+