From 215b6de4add4c7e030bec7ca6af2d7a892b06a5d Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Wed, 13 Jan 2016 17:00:49 +0100 Subject: [PATCH] update doc --- README.rst | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/README.rst b/README.rst index dbb776e1..6945f2a7 100644 --- a/README.rst +++ b/README.rst @@ -20,7 +20,12 @@ Run these commands in a terminal:: cd Manifeste docker-compose up -You should be able to browse the site at http://localhost:8000/ +Then, in another terminal:: + + cd Manifeste + docker-compose run db /srv/backup/restore_db.sh + +You should be able to browse the site at http://localhost:8010/ MacOS or Windows: ------------------ @@ -34,8 +39,12 @@ Run these commands in a terminal:: cd Manifeste docker-compose up -The 3rd command should give you the IP of the VM. For example, if IP is 192.168.59.103, you should be able to browse the site at http://192.168.59.103:8000/ +Then, in another terminal:: + + eval "$(docker-machine env manifeste)" + cd Manifeste + docker-compose run db /srv/backup/restore_db.sh -Note that after the first start, if no database backup has been provided, you should make a restart (CTRL+C then up) so that the DB can be initialized and then the migration happens. +The 3rd command should give you the IP of the VM. For example, if IP is 192.168.59.103, you should be able to browse the site at http://192.168.59.103:8010/ `More info `_ about using docker and related tools. -- 2.39.5