blob: cc2a3bcae90dd309b3dcd2a744552fcdbc27ec74 [file] [log] [blame]
MYIP:=$(shell hostname -i)
test: frontend
sudo docker exec -i teststandalone_xos_1 bash -c "cd /opt/xos/tests/api; npm install --production"
sudo docker exec -i teststandalone_xos_1 bash -c "cd /opt/xos/tests/api; npm test"
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
base-container:
cd ../../../containers/xos; make devel
containers: base-container
cd ../../../containers/xos; make test
stop:
sudo docker-compose stop
showlogs:
sudo docker-compose logs
rm: stop
sudo docker-compose rm
enter-xos:
sudo docker exec -ti teststandalone_xos_1 bash