summaryrefslogtreecommitdiffstats
path: root/utils/test/reporting/docker/web_server.sh
blob: a34c11dd749ae9a7a39b8c2ced875b66b67fbd42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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