--- a/README.md Wed Apr 24 02:17:42 2019 +0200
+++ b/README.md Wed Apr 24 02:26:02 2019 +0200
@@ -52,36 +52,9 @@
Navigate to http://localhost:8080.
-## Deployment
-
-TODO...
-
-## Built With
-
-* [Wordpress](https://wordpress.org/) - The CMS used
-
-## Versioning
-
-We use [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://www.iri.centrepompidou.fr/dev/hg/recherchecontributive/tags).
-
-## Authors
-
-* **Yves-Marie Haussonne** - *Initial work*
-
-## License
-
-This project is licensed under the CecCill License - see the [LICENSE.md](LICENSE.md) file for details
-
-## Acknowledgments
-
-* Hat tip to anyone whose code was used
-* Wordpress: https://wordpress.org/
-* Bedrock: https://roots.io/bedrock
-* Docker for loacl wordpress development: https://urre.me/writings/docker-for-local-wordpress-development/
-
-
## Data management
+**!! BEWARE !!**: Do not launch the `docker-compose down` command before exporting data. This command delete the `db` container's data volume end therefore delete the database.
### Export database
```
@@ -110,3 +83,30 @@
$ docker-compose exec -T wp /var/www/html/vendor/bin/wp --allow-root user update admin --prompt=user_pass
```
+## Deployment
+
+TODO...
+
+## Built With
+
+* [Wordpress](https://wordpress.org/) - The CMS used
+
+## Versioning
+
+We use [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://www.iri.centrepompidou.fr/dev/hg/recherchecontributive.org/tags).
+
+## Authors
+
+* **Yves-Marie Haussonne** - *Initial work*
+
+## License
+
+This project is licensed under the CecCill License - see the [LICENSE.md](LICENSE.md) file for details
+
+## Acknowledgments
+
+* Hat tip to anyone whose code was used
+* Wordpress: https://wordpress.org/
+* Bedrock: https://roots.io/bedrock
+* Docker for local wordpress development: https://urre.me/writings/docker-for-local-wordpress-development/
+
--- a/docker-compose.yml Wed Apr 24 02:17:42 2019 +0200
+++ b/docker-compose.yml Wed Apr 24 02:26:02 2019 +0200
@@ -41,25 +41,3 @@
- db
restart: always
- # cli:
- # image: wordpress:cli-php7.3
- # container_name: rc-cli
- # volumes:
- # - ./src:/var/www/html:rw,cached
- # environment:
- # WORDPRESS_DB_HOST: db
- # WORDPRESS_DB_USER: wordpress
- # WORDPRESS_DB_PASSWORD: wordpress
- # WORDPRESS_DB_NAME: wordpressdb
- # depends_on:
- # - db
- # restart: 'no'
-
- # composer:
- # image: composer/composer
- # container_name: rc-composer
- # working_dir: /var/www/html
- # restart: 'no'
- # volumes:
- # - ./src:/var/www/html:rw,cached
-