about summary refs log tree commit diff
path: root/README.md
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-03-19 01:14:55 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-03-19 01:14:55 +0100
commit111f2a1d489bdd7bd29e148a12a6465fee6edea9 (patch)
tree5324bd42a60f4432716ff66d10a20bb394f2d52a /README.md
parentf97fc9744f7879246ecc04e3f5ec4f358a9d71a2 (diff)
Adding section on updating to the latest version
[ci skip]
Diffstat (limited to 'README.md')
-rw-r--r--README.md18
1 files changed, 17 insertions, 1 deletions
diff --git a/README.md b/README.md
index e45e81c27..2dfd99e4d 100644
--- a/README.md
+++ b/README.md
@@ -41,7 +41,7 @@ The project now includes a `Dockerfile` and a `docker-compose.yml`. You need to
 
 And finally
 
-    docker-compose up
+    docker-compose up -d
 
 As usual, the first thing you would need to do would be to run migrations:
 
@@ -52,3 +52,19 @@ And since the instance running in the container will be running in production mo
     docker-compose run web rake assets:precompile
 
 The container has two volumes, for the assets and for user uploads. The default docker-compose.yml maps them to the repository's `public/assets` and `public/system` directories, you may wish to put them somewhere else. Likewise, the PostgreSQL and Redis images have data containers that you may wish to map somewhere where you know how to find them and back them up.
+
+### Updating
+
+This approach makes updating to the latest version a real breeze.
+
+    git pull
+
+To pull down the updates, re-run
+
+    docker-compose build
+
+And finally,
+
+    docker-compose up -d
+
+Which will re-create the updated containers, leaving databases and data as is. Depending on what files have been updated, you might need to re-run migrations and asset compilation.