diff options
author | 2017-02-20 09:35:22 +0000 | |
---|---|---|
committer | 2017-03-03 17:11:47 +0000 | |
commit | df42d5ea79517047f128fac992bb85fd70d95c92 (patch) | |
tree | a7b16a542071b5be70293aa2c5dc43e6f6855a73 /utils/test/reporting/docker | |
parent | 3c3a55aaf68c93365fb0210944425300d972dbfd (diff) |
Create Test Reporting landing page
JIRA: RELENG-165
In this patch, I upload the backend code
usage:
docker run -itd -p 8000:8000 -e SERVER_URL=server_ip:8000 opnfv/reporting:<tag>
note: must point SERVER_URL, it is the api server.
visit landing page:
http://server_ip:8000/reporting/index.html
Change-Id: I10121574e0c4b2733a8084c986d7a2746e7ce2a4
Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
Diffstat (limited to 'utils/test/reporting/docker')
-rwxr-xr-x | utils/test/reporting/docker/reporting.sh | 6 | ||||
-rw-r--r-- | utils/test/reporting/docker/supervisor.conf | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/utils/test/reporting/docker/reporting.sh b/utils/test/reporting/docker/reporting.sh index 78bcc4e82..1de13ae32 100755 --- a/utils/test/reporting/docker/reporting.sh +++ b/utils/test/reporting/docker/reporting.sh @@ -79,10 +79,4 @@ echo "daemon off;" >> /etc/nginx/nginx.conf # supervisor config cp /home/opnfv/utils/test/reporting/docker/supervisor.conf /etc/supervisor/conf.d/ -# build pages -cd pages ln -s /usr/bin/nodejs /usr/bin/node -npm install -npm install -g grunt bower -bower install --allow-root -grunt build diff --git a/utils/test/reporting/docker/supervisor.conf b/utils/test/reporting/docker/supervisor.conf index 0c2207793..1e0eed9c8 100644 --- a/utils/test/reporting/docker/supervisor.conf +++ b/utils/test/reporting/docker/supervisor.conf @@ -14,3 +14,9 @@ autorestart = true user = root command = service nginx restart autorestart = true + +[program:reporting_angular] +user = root +directory = /home/opnfv/utils/test/reporting/pages +command = bash angular.sh +autorestart = true |