Update DOCKER.md with instructions for precompiling assets
This commit is contained in:
parent
4b21cdfcf9
commit
5d17e74d71
1 changed files with 5 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue