From a53e39a6007dc579c76cdee4e0fb328cc770c605 Mon Sep 17 00:00:00 2001 From: Olivier DOSSMANN Date: Thu, 16 Jun 2016 14:11:26 +0200 Subject: [PATCH] [FIX] Using wrong python version in new Dockerfile --- launch.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/launch.sh b/launch.sh index 2d0a611..25277bf 100755 --- a/launch.sh +++ b/launch.sh @@ -93,7 +93,7 @@ show_help() { environment, fetch git repository and install Python dependancies" echo -e " - migrate Launch migration command: - python manage.py migrate" + python3 manage.py migrate" echo -e " - psql Enter PSQL database via psql command" echo -e " - restore dump Restore the given dump" echo -e " - start [arg ...] Launch Gissmo Docker container @@ -248,7 +248,7 @@ test_migrate() { migrate() { test_migrate - $docker_cmd run -it --rm --link ${POSTGRES_DOCKER_NAME}:db gissmo:${GISSMO_VERSION} python manage.py migrate || error_and_quit "Failed to launch Gissmo migration." + $docker_cmd run -it --rm --link ${POSTGRES_DOCKER_NAME}:db gissmo:${GISSMO_VERSION} python3 manage.py migrate || error_and_quit "Failed to launch Gissmo migration." } test_restore() {