aboutsummaryrefslogtreecommitdiffstats
path: root/docker/instance_init.sh
diff options
context:
space:
mode:
authoryangyan <yangyanyj@chinamobile.com>2019-04-25 17:13:29 +0800
committeryangyan <yangyanyj@chinamobile.com>2019-04-25 17:14:05 +0800
commit94a2d8b77565ff50462498b8646c66b69bb4a23f (patch)
treeface5f7409adaaeeb54e11d3f063213c3c735c21 /docker/instance_init.sh
parentb19a8a1662e48dd314ec22c69d2954c18c3e02e0 (diff)
update file directory
Change-Id: I450596eb4c88e9cedb2ae705431973d1ca7e3a43 Issue-ID: MODELING-159 Signed-off-by: yangyan <yangyanyj@chinamobile.com>
Diffstat (limited to 'docker/instance_init.sh')
-rwxr-xr-xdocker/instance_init.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/docker/instance_init.sh b/docker/instance_init.sh
index ac71b43..0c25203 100755
--- a/docker/instance_init.sh
+++ b/docker/instance_init.sh
@@ -13,13 +13,13 @@ fi
function create_database {
- cd /service/modeling/toscaparsers/genericparser/resources/bin
+ cd /service/modeling/genericparser/resources/bin
bash initDB.sh $MYSQL_ROOT_USER $MYSQL_ROOT_PASSWORD $MYSQL_PORT $MYSQL_IP
}
function migrate_database {
- cd /service/modeling/toscaparsers/genericparser
+ cd /service/modeling/genericparser
python manage.py migrate
}