diff options
author | 2016-05-18 17:55:21 -0700 | |
---|---|---|
committer | 2016-05-18 17:55:21 -0700 | |
commit | f60b652464b150d4e7837fceb522dafbf7c2b91e (patch) | |
tree | 2c558d907c78e5d19a80f81f9b93867f6dea2c7d /components/congress/test-webapp/setup | |
parent | a770106f9511b4d57b0a30f2f587345b276da903 (diff) |
Add port to congress proxy server; disable proxy logging (error)
JIRA: COPPER-4
Change-Id: I09ca53bdf9a90884bf40be33ade6e2e579d2781c
Signed-off-by: blsaws <bryan.sullivan@att.com>
Diffstat (limited to 'components/congress/test-webapp/setup')
-rw-r--r-- | components/congress/test-webapp/setup/install_congress_testserver_1.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/components/congress/test-webapp/setup/install_congress_testserver_1.sh b/components/congress/test-webapp/setup/install_congress_testserver_1.sh index 0c8d24a..b572b60 100644 --- a/components/congress/test-webapp/setup/install_congress_testserver_1.sh +++ b/components/congress/test-webapp/setup/install_congress_testserver_1.sh @@ -93,13 +93,13 @@ enabled=1 gpgcheck=1 gpgkey=https://yum.dockerproject.org/gpg EOF - sudo yum install -y docker-engine sudo service docker start echo "Setup webapp files" if [ ! -d /tmp/copper ]; then mkdir /tmp/copper; fi if [ ! -d /tmp/copper/log ]; then mkdir /tmp/copper/log; fi - cp ~/congress/*.sh /tmp/copper + sudo scp -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no stack@192.0.2.1:/home/stack/congress/*.sh /tmp/copper + source /tmp/copper/env.sh cp -r ~/git/copper/components/congress/test-webapp/* /tmp/copper/ echo "Point proxy.php to the Congress server" source /tmp/copper/env.sh @@ -113,10 +113,10 @@ EOF echo "Start Centos container" sudo docker pull centos - export CID=$(sudo docker run -d -t -P --name copper-cli -v /tmp/copper:/opt/copper centos /bin/bash) echo "Attach to the Centos container" echo "Once logged in, enter the command 'source /opt/copper/setup/install_congress_testserver_2.sh'" - sudo docker attach $CID + sudo docker run -i -t -P --name copper-cli -v /tmp/copper:/opt/copper centos /bin/bash) +# sudo docker attach $CID # sudo docker run -it -P --name copper -v /tmp/copper:/opt/copper centos /opt/copper/setup/install_congress_testserver_2.sh # sudo docker ps -a fi |