summaryrefslogtreecommitdiffstats
path: root/utils/test/reporting/docker/web_server.sh
diff options
context:
space:
mode:
Diffstat (limited to 'utils/test/reporting/docker/web_server.sh')
-rwxr-xr-xutils/test/reporting/docker/web_server.sh14
1 files changed, 14 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..0dd8df73d
--- /dev/null
+++ b/utils/test/reporting/docker/web_server.sh
@@ -0,0 +1,14 @@
+#!/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/
+
+# Manage Angular front end
+cd pages && /bin/bash angular.sh
+