community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgard...@apache.org
Subject svn commit: r1693183 - /comdev/tools/scripts/migrateDev.sh
Date Wed, 29 Jul 2015 06:10:36 GMT
Author: rgardler
Date: Wed Jul 29 06:10:35 2015
New Revision: 1693183

URL: http://svn.apache.org/r1693183
Log:
set docker to work with the dev machine when migrating the DB

Modified:
    comdev/tools/scripts/migrateDev.sh

Modified: comdev/tools/scripts/migrateDev.sh
URL: http://svn.apache.org/viewvc/comdev/tools/scripts/migrateDev.sh?rev=1693183&r1=1693182&r2=1693183&view=diff
==============================================================================
--- comdev/tools/scripts/migrateDev.sh (original)
+++ comdev/tools/scripts/migrateDev.sh Wed Jul 29 06:10:35 2015
@@ -2,6 +2,11 @@ echo "##################################
 echo "# Migrate the database"
 echo "##################################################################################################"
 
+source scripts/config.sh
+
+docker-machine env $DEV_MACHINE_NAME
+eval "$(docker-machine env $DEV_MACHINE_NAME)"
+
 docker exec meetups_app python manage.py makemigrations events_list
 docker exec meetups_app python manage.py migrate
 



Mime
View raw message