<p></p>
<p>First of all: Thanks a lot for this. This was the easiest setup I did, yet :-).</p>
<p>Here are a few things that happened:</p>
<h3>db:migrate</h3>
<p>I get this response. Is this something important or can it be ignored?</p>
<pre><code>$ docker-compose run --rm web bundle exec rails db:migrate
Creating openstreetmap-website_web_run ... done
pngcrush worker: `pngcrush` not found; please provide proper binary or disable this worker (--no-pngcrush argument or `:pngcrush => false` through options)
advpng worker: `advpng` not found; please provide proper binary or disable this worker (--no-advpng argument or `:advpng => false` through options)
optipng worker: `optipng` not found; please provide proper binary or disable this worker (--no-optipng argument or `:optipng => false` through options)
pngquant worker: `pngquant` not found; please provide proper binary or disable this worker (--no-pngquant argument or `:pngquant => false` through options)
jhead worker: `jhead` not found, `jpegtran` not found; please provide proper binary or disable this worker (--no-jhead argument or `:jhead => false` through options)
jpegoptim worker: `jpegoptim` not found; please provide proper binary or disable this worker (--no-jpegoptim argument or `:jpegoptim => false` through options)
jpegtran worker: `jpegtran` not found; please provide proper binary or disable this worker (--no-jpegtran argument or `:jpegtran => false` through options)
gifsicle worker: `gifsicle` not found; please provide proper binary or disable this worker (--no-gifsicle argument or `:gifsicle => false` through options)
svgo worker: `svgo` not found; please provide proper binary or disable this worker (--no-svgo argument or `:svgo => false` through options)
</code></pre>
<p>The migrations did run.</p>
<h3>rake test:db</h3>
<p>Something is wrong:</p>
<pre><code>$ docker-compose run --rm web bundle exec rake test:db

Creating openstreetmap-website_web_run ... done

rake aborted!
ActiveRecord::StatementInvalid: PG::InsufficientPrivilege: ERROR:  permission denied to create database
/usr/local/bundle/gems/activerecord-6.0.3.4/lib/active_record/connection_adapters/postgresql/database_statements.rb:92:in `exec'

Tasks: TOP => db:test:load => db:test:purge
</code></pre>
<h3>osmosis</h3>
<p>This is still running – maybe. Or it got stuck. Will update with results later …</p>
<pre><code>docker-compose run --rm web osmosis \
                                                                   -verbose    \
                                                                   --read-pbf berlin-latest.osm.pbf \
                                                                   --write-apidb \
                                                                       host="db" \
                                                                       database="openstreetmap" \
                                                                       user="openstreetmap" \
                                                                       validateSchemaVersion="no"
</code></pre>
<h3>Suggestions/Questions</h3>
<ul>
<li>Should we document in more detail how to create a local user? Thinks like inspecting log to find the activation URL and cleaning this up to use it …</li>
<li>Should we document in more detail how to "look into the docker DB with a local db client"? / How does this work?</li>
<li>Should we suggest to setup a local domain? And use this for links in emails for example (the emails dont use the localhost that I use to open the page)?</li>
</ul>
<h3>My current state</h3>
<ul>
<li>I can load the website locally</li>
<li>I can create a user</li>
<li>I cannot edit via iD (alert: "iD was not configured"), but that is not a priority for me</li>
<li>I cannot run tests yet (with test:db)</li>
</ul>

<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/2409#issuecomment-751831167">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLP6N6FKMC4Z536CWQTSXDJHPANCNFSM4JDURRXA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAK2OLIGKFM2ZQ7FHKIKBVTSXDJHPA5CNFSM4JDURRXKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFTIAQ7Y.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/2409#issuecomment-751831167",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/2409#issuecomment-751831167",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>