From: Emin Kocan Date: Sat, 7 Sep 2024 18:53:47 +0000 (+0200) Subject: Update DOCKER.md with instructions for precompiling assets X-Git-Tag: live~215^2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/5d17e74d714e27f3dd6ab3ef3bb4d6d30919d42c?ds=inline;hp=--cc Update DOCKER.md with instructions for precompiling assets --- 5d17e74d714e27f3dd6ab3ef3bb4d6d30919d42c diff --git a/DOCKER.md b/DOCKER.md index f6caa6988..4804d09b3 100644 --- a/DOCKER.md +++ b/DOCKER.md @@ -75,12 +75,16 @@ Run the Rails database migrations: Prepare the test database: - docker compose run --rm web bundle exec rails db:test:prepare + docker compose run --rm web bundle exec rails db:test:prepare Run the test suite: docker compose run --rm web bundle exec rails test:all +If you encounter errors about missing assets, precompile the assets: + + docker compose run --rm web bundle exec rake assets:precompile + ### Loading an OSM extract This installation comes with no geographic data loaded. You can either create new data using one of the editors (Potlatch 2, iD, JOSM etc) or by loading an OSM extract. Here an example for loading an OSM extract into your Docker-based OSM instance.