adds tldr section to readme

This commit is contained in:
Sameer Naik
2016-11-23 18:11:33 +05:30
parent f2eb18ff48
commit 72dd3d1398

View File

@@ -9,6 +9,13 @@ Pages use MediaWiki's wikitext format, so that users without knowledge of XHTML
https://www.mediawiki.org/
# TL;DR;
```bash
$ curl -LO https://raw.githubusercontent.com/bitnami/bitnami-docker-mediawiki/master/docker-compose.yml
$ docker-compose up
```
# Prerequisites
To run this application you need Docker Engine 1.10.0. Docker Compose is recomended with a version 1.6.0 or later.
@@ -78,7 +85,7 @@ Then you can access your application at http://your-ip/
## Persisting your application
If you remove every container and volume all your data will be lost, and the next time you run the image the application will be reinitialized. To avoid this loss of data, you should mount a volume that will persist even after the container is removed.
If you remove every container and volume all your data will be lost, and the next time you run the image the application will be reinitialized. To avoid this loss of data, you should mount a volume that will persist even after the container is removed.
For persistence of the MediaWiki deployment, the above examples define docker volumes namely `mariadb_data` and `mediawiki_data`. The MediaWiki application state will persist as long as these volumes are not removed.