summaryrefslogtreecommitdiffstats
path: root/reporting/docker/web_server.sh
blob: 065c991d0af1f07830a79276f7f6c06fbad64b6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash
cp -r display /usr/share/nginx/html


# nginx config
cp /home/opnfv/releng-testresults/reporting/docker/nginx.conf /etc/nginx/conf.d/
echo "daemon off;" >> /etc/nginx/nginx.conf

# supervisor config
cp /home/opnfv/releng-testresults/reporting/docker/supervisor.conf /etc/supervisor/conf.d/

# Manage Angular front end
cd pages && /bin/bash angular.sh