blob: 2b464412fca8ddd004aa450d8096d2082c6c29e2 [file] [log] [blame]
MYIP:=$(shell hostname -i)
frontend:
sudo make -f ../common/Makefile.prereqs
sudo docker-compose up -d
bash ../common/wait_for_xos.sh
sudo docker-compose run xos python /opt/xos/tosca/run.py padmin@vicci.org /opt/xos/configurations/frontend/sample.yaml
containers:
cd ../../../containers/xos; make devel
stop:
sudo docker-compose stop
showlogs:
sudo docker-compose logs
rm: stop
sudo docker-compose rm
ps:
sudo docker-compose ps
enter-xos:
sudo docker exec -ti frontend_xos_1 bash
django-restart:
sudo docker exec frontend_xos_1 touch /opt/xos/xos/settings.py
mock-cord:
sudo docker-compose run xos python /opt/xos/tosca/run.py padmin@vicci.org /opt/xos/configurations/common/fixtures.yaml
sudo docker-compose run xos python /opt/xos/tosca/run.py padmin@vicci.org /opt/xos/configurations/frontend/mocks/cord.yaml
sudo docker exec frontend_xos_1 cp /opt/xos/configurations/cord/xos_cord_config /opt/xos/xos_configuration/
sudo docker exec frontend_xos_1 touch /opt/xos/xos/settings.py