Added initDb to FE config
diff --git a/xos/configurations/common/xos_common_config b/xos/configurations/common/xos_common_config
old mode 100644
new mode 100755
index 312f1d9..b2e102f
--- a/xos/configurations/common/xos_common_config
+++ b/xos/configurations/common/xos_common_config
@@ -6,7 +6,7 @@
name=xos
user=postgres
password=password
-host=localhost
+host=66.201.46.26
port=5432
[api]
diff --git a/xos/configurations/frontend/Makefile b/xos/configurations/frontend/Makefile
index dcc5af2..e65067b 100644
--- a/xos/configurations/frontend/Makefile
+++ b/xos/configurations/frontend/Makefile
@@ -4,6 +4,7 @@
sudo make -f ../common/Makefile.prereqs
sudo docker-compose up -d
bash ../common/wait_for_xos.sh
+ bash ../mcord/xos/initdb
sudo docker-compose run xos python /opt/xos/tosca/run.py padmin@vicci.org /opt/xos/configurations/frontend/sample.yaml
# sudo docker-compose run xos python manage.py makemigrations mcordservice
# sudo docker-compose run xos python manage.py syncdb
diff --git a/xos/configurations/mcord/Makefile b/xos/configurations/mcord/Makefile
index 37025de..0f595c5 100644
--- a/xos/configurations/mcord/Makefile
+++ b/xos/configurations/mcord/Makefile
@@ -8,6 +8,7 @@
sudo docker-compose run xos python /opt/xos/tosca/run.py padmin@vicci.org /root/setup/images.yaml
sudo docker-compose run xos python /opt/xos/tosca/run.py padmin@vicci.org /root/setup/mgmt-net.yaml
sudo docker exec mcord_xos_1 cp /opt/xos/configurations/frontend/mocks/xos_mcord_config /opt/xos/xos_configuration/
+ sudo docker exec frontend_xos_1 touch /opt/xos/xos/settings.py
nodes.yaml:
export SETUPDIR=.; bash ../common/make-nodes-yaml.sh
@@ -17,8 +18,8 @@
.PHONY: local_containers
local_containers:
- cd xos; make devel
- cd synchronizer; make
+ cd ../../../containers/xos; make devel
+ cd ../../../containers/synchronizer; make
enter-xos:
sudo docker exec -it mcord_xos_1 bash