<p>ok I have some good news. I was able solve the deployment problem mentioned on my previous comment. I forgot to change the volume mount point when I moved the <code>docker-compose.yml</code> to docker directory from root directory and docker was unable to find the files necessary. Silly mistake ruined my weekend <g-emoji class="g-emoji" alias="no_mouth" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f636.png">😶</g-emoji>. But unfortunately haven't made any progress with <code>rake test:db</code> error yet.</p>
<blockquote>
<p>There's a few commandline things which are pretty important to having a useful development environment, such as:</p>
</blockquote>
<blockquote>
<p>Running the test suite<br>
Running rake commands (e.g. for database migrations)<br>
Running the console<br>
Connecting to the database with psql</p>
</blockquote>
<blockquote>
<p>I'd like to make sure all of these things are possible in the Dockerized development setup, since at the moment I only see mention of running the webserver. With Vagrant, for example, you can just vagrant ssh into the virtual machine and do all of these things.</p>
</blockquote>
<p><a class="user-mention" data-hovercard-type="user" data-hovercard-url="/hovercards?user_id=360803" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/gravitystorm">@gravitystorm</a> they all are possible but for some reason I have setback regarding the <code>rake test:db</code> command. Might have something to do with the UNIX socket vs Docker tpc connection as you have mentioned in your comment. And yes you can also use <code>bash</code> on all of them.</p>
<blockquote>
<p>If they are possible already (great!) then it would be worthwhile documenting how that works, since it's not obvious to me at least!</p>
</blockquote>
<p>I just went through the old PR (<a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="177315137" data-permission-text="Issue title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/1290" data-hovercard-type="pull_request" data-hovercard-url="/openstreetmap/openstreetmap-website/pull/1290/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/pull/1290">#1290</a>) and found that <a class="user-mention" data-hovercard-type="user" data-hovercard-url="/hovercards?user_id=4964" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/paulsturgess">@paulsturgess</a> made a nice <a href="https://github.com/paulsturgess/openstreetmap-website/blob/b1f90c5219f3d103e9d9d9942230861de3203327/DOCKER.md">doc</a> for docker usage. Will try to re-use/re-purpose that and push it asap. Cheers!</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2272?email_source=notifications&email_token=AAK2OLIFMPDONDFNASZNMWDP3X353A5CNFSM4HZNXSCKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYKGE5Q#issuecomment-504652406">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLLUBWHSJVLDVWQ7WQ3P3X353ANCNFSM4HZNXSCA">mute the thread</a>.<img src="https://github.com/notifications/beacon/AAK2OLN57T4XTBNANWW74X3P3X353A5CNFSM4HZNXSCKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYKGE5Q.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/2272?email_source=notifications\u0026email_token=AAK2OLIFMPDONDFNASZNMWDP3X353A5CNFSM4HZNXSCKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYKGE5Q#issuecomment-504652406",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/2272?email_source=notifications\u0026email_token=AAK2OLIFMPDONDFNASZNMWDP3X353A5CNFSM4HZNXSCKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYKGE5Q#issuecomment-504652406",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>