blob: 5c0ce0ec5e94853d284e0c6bf0b1abf4dd8d0961 [file] [log] [blame]
Scott Bakera6a43722015-09-30 20:34:05 -07001MYIP:=$(shell hostname -i)
Scott Bakera6a43722015-09-30 20:34:05 -07002
3frontend:
Andy Bavierbeecd482016-01-11 08:12:17 -05004 sudo make -f ../common/Makefile.prereqs
Andy Bavier443ca9a2016-01-08 09:22:46 -05005 sudo docker-compose up -d
Matteo Scandolob989ed72015-10-20 12:07:14 +02006 bash ../common/wait_for_xos.sh
Andy Bavier443ca9a2016-01-08 09:22:46 -05007 sudo docker-compose run xos python /opt/xos/tosca/run.py padmin@vicci.org /opt/xos/configurations/frontend/sample.yaml
Matteo Scandoloc93c8e62015-11-10 15:10:21 +01008
Andy Bavier5144cc02016-01-20 13:18:38 -08009containers:
10 cd ../../../containers/xos; make devel
11
Scott Bakera6a43722015-09-30 20:34:05 -070012stop:
Andy Bavier443ca9a2016-01-08 09:22:46 -050013 sudo docker-compose stop
Matteo Scandolob989ed72015-10-20 12:07:14 +020014
Scott Bakera6a43722015-09-30 20:34:05 -070015showlogs:
Andy Bavier443ca9a2016-01-08 09:22:46 -050016 sudo docker-compose logs
17
18rm: stop
19 sudo docker-compose rm
20
21ps:
22 sudo docker-compose ps
Scott Bakera6a43722015-09-30 20:34:05 -070023
Andy Bavier62c73472016-01-08 14:18:00 -050024enter-xos:
25 sudo docker exec -ti frontend_xos_1 bash
Matteo Scandoloedeae2d2016-02-11 11:04:20 -080026
27mock-cord:
Scott Baker64044412016-02-18 10:45:15 -080028 sudo docker-compose run xos python /opt/xos/tosca/run.py padmin@vicci.org /opt/xos/configurations/common/fixtures.yaml
Matteo Scandoloedeae2d2016-02-11 11:04:20 -080029 sudo docker-compose run xos python /opt/xos/tosca/run.py padmin@vicci.org /opt/xos/configurations/frontend/mocks/cord.yaml
30 sudo docker exec frontend_xos_1 cp /opt/xos/configurations/cord/xos_cord_config /opt/xos/xos_configuration/
31 sudo docker exec frontend_xos_1 touch /opt/xos/xos/settings.py