<p></p>
<p dir="auto">The immediate cause here is that the Docker instructions don't match what happens in CI, so we haven't noticed that the written instructions are incorrect.</p>
<p dir="auto">In <a aria-label="Pull request #3200" class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="895528492" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/3200" data-hovercard-type="pull_request" data-hovercard-url="/openstreetmap/openstreetmap-website/pull/3200/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/pull/3200">#3200</a> we removed our custom "rake test" task, which haddepended on (and therefore caused to run) the database preparation step. In that PR I updated the docker workflow for CI, but I didn't add the <code class="notranslate">db:test:prepare</code> statement to the DOCKER.md instructions. Mea culpa.</p>
<p dir="auto">In the main (non-Docker) installation instructions, we don't use <code class="notranslate">bundle exec rails db:test:prepare</code> at all, and instead we use <code class="notranslate">bundle exec rails db:create</code> instead (which creates all three databases). There's an opportunity here to fix that inconsistency, so I would propose:</p>
<ul dir="auto">
<li>Add <code class="notranslate">bundle exec rails db:create</code> to DOCKER.md</li>
<li>Change docker.yml workflow to use <code class="notranslate">bundle exec rails db:create</code> instead of <code class="notranslate">... db:test:prepare</code>, for consistency.</li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/issues/3947#issuecomment-1445315015">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLNR7RRTGKSTP3WZWPDWZMTFTANCNFSM6AAAAAAVH6XCFM">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLNCTIVARX5YC5TNNV3WZMTFTA5CNFSM6AAAAAAVH6XCFOWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTSWEXA4O.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/openstreetmap-website/issues/3947/1445315015</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/issues/3947#issuecomment-1445315015",
"url": "https://github.com/openstreetmap/openstreetmap-website/issues/3947#issuecomment-1445315015",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>