[openstreetmap/openstreetmap-website] Update DOCKER.md (PR #3575)
Víctor O. Vento
notifications at github.com
Thu Jun 16 16:29:05 UTC 2022
Need to run docker-compose run --rm web bundle exec rake db:create before running the tests, otherwise, it will trow the next error:
We could not find your database: osm_test. Which can be found in the database configuration file located at config/database.yml. (ActiveRecord::NoDatabaseError)
To resolve this issue:
- Did you create the database for this app, or delete it? You may need to create your database.
- Has the database name changed? Check your database.yml config has the correct database name.
To create your database, run:
bin/rails db:create
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/3575
-- Commit Summary --
* Update DOCKER.md
-- File Changes --
M DOCKER.md (2)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/3575.patch
https://github.com/openstreetmap/openstreetmap-website/pull/3575.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/3575
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/3575 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20220616/2906bb75/attachment.htm>
More information about the rails-dev
mailing list