Scott Baker | a6a4372 | 2015-09-30 20:34:05 -0700 | [diff] [blame] | 1 | MYIP:=$(shell hostname -i) |
Scott Baker | a6a4372 | 2015-09-30 20:34:05 -0700 | [diff] [blame] | 2 | |
| 3 | frontend: |
Andy Bavier | beecd48 | 2016-01-11 08:12:17 -0500 | [diff] [blame] | 4 | sudo make -f ../common/Makefile.prereqs |
Andy Bavier | 443ca9a | 2016-01-08 09:22:46 -0500 | [diff] [blame] | 5 | sudo docker-compose up -d |
Matteo Scandolo | b989ed7 | 2015-10-20 12:07:14 +0200 | [diff] [blame] | 6 | bash ../common/wait_for_xos.sh |
Andy Bavier | 443ca9a | 2016-01-08 09:22:46 -0500 | [diff] [blame] | 7 | sudo docker-compose run xos python /opt/xos/tosca/run.py padmin@vicci.org /opt/xos/configurations/frontend/sample.yaml |
Matteo Scandolo | c93c8e6 | 2015-11-10 15:10:21 +0100 | [diff] [blame] | 8 | |
Andy Bavier | 5144cc0 | 2016-01-20 13:18:38 -0800 | [diff] [blame] | 9 | containers: |
| 10 | cd ../../../containers/xos; make devel |
| 11 | |
Scott Baker | a6a4372 | 2015-09-30 20:34:05 -0700 | [diff] [blame] | 12 | stop: |
Andy Bavier | 443ca9a | 2016-01-08 09:22:46 -0500 | [diff] [blame] | 13 | sudo docker-compose stop |
Matteo Scandolo | b989ed7 | 2015-10-20 12:07:14 +0200 | [diff] [blame] | 14 | |
Scott Baker | a6a4372 | 2015-09-30 20:34:05 -0700 | [diff] [blame] | 15 | showlogs: |
Andy Bavier | 443ca9a | 2016-01-08 09:22:46 -0500 | [diff] [blame] | 16 | sudo docker-compose logs |
| 17 | |
| 18 | rm: stop |
| 19 | sudo docker-compose rm |
| 20 | |
| 21 | ps: |
| 22 | sudo docker-compose ps |
Scott Baker | a6a4372 | 2015-09-30 20:34:05 -0700 | [diff] [blame] | 23 | |
Andy Bavier | 62c7347 | 2016-01-08 14:18:00 -0500 | [diff] [blame] | 24 | enter-xos: |
| 25 | sudo docker exec -ti frontend_xos_1 bash |
Matteo Scandolo | edeae2d | 2016-02-11 11:04:20 -0800 | [diff] [blame] | 26 | |
| 27 | mock-cord: |
Scott Baker | 6404441 | 2016-02-18 10:45:15 -0800 | [diff] [blame^] | 28 | sudo docker-compose run xos python /opt/xos/tosca/run.py padmin@vicci.org /opt/xos/configurations/common/fixtures.yaml |
Matteo Scandolo | edeae2d | 2016-02-11 11:04:20 -0800 | [diff] [blame] | 29 | 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 |