about summary refs log tree commit diff
path: root/README.md
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-03-16 12:57:01 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-03-16 12:57:01 +0100
commit48d66a205567f7a3d59ce21eb024e11b5eb18b75 (patch)
tree42557386da40533f6478a21a2f057ccafac72e6e /README.md
parent2c374cd97cea67447cccee004ae7fe189db9abc5 (diff)
Fixing the docker container setup (with assets compilation &co)
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/README.md b/README.md
index f02e5cddd..a1f7b2e27 100644
--- a/README.md
+++ b/README.md
@@ -48,3 +48,9 @@ And finally
 As usual, the first thing you would need to do would be to run migrations:
 
     docker-compose run web rake db:migrate
+
+And since the instance running in the container will be running in production mode, you need to pre-compile assets:
+
+    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.