For easier development and production workflow, it has been dockerized including the MariaDB and the Nginx webserver.
-First install `Git <http://git-scm.com/downloads>`_, `Docker <https://docs.docker.com/installation/>`_ and `docker-compose <https://docs.docker.com/compose/install/>`_.
+First install `Git <http://git-scm.com/downloads>`_, `Docker engine <https://docs.docker.com/installation/>`_ and `docker-compose <https://docs.docker.com/compose/install/>`_.
Linux
------
cd Manifeste
docker-compose up db
-The last command is needed to first initialize the database. Leave the session with CTRL+C and then finally::
+The last command is needed to initialize the database. Leave the session with CTRL+C and then finally do::
docker-compose up
-Then, in another terminal::
+To restore the backuped database, in another terminal::
cd Manifeste
docker-compose run db /srv/backup/restore_db.sh
cd Manifeste
docker-compose up db
-The last command is needed to first initialize the database. Leave the session with CTRL+C and then finally::
+The last command is needed to initialize the database. Leave the session with CTRL+C and then finally do::
docker-compose up