]> git.parisson.com Git - mezzo.git/commitdiff
update doc
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Wed, 13 Jan 2016 16:00:49 +0000 (17:00 +0100)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Wed, 13 Jan 2016 16:00:49 +0000 (17:00 +0100)
README.rst

index dbb776e1517b5ae632f7780dde131a6ed9aac2a1..6945f2a7de0daf5dfefd4c6a21cf11dd9313e32f 100644 (file)
@@ -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 <https://docs.docker.com/>`_ about using docker and related tools.