<blockquote>
<p>Just to note that I'm currently hoping to try some tweaks to the /browse/ pages, which do require a data import, or else there are no items to browse. (Especially since, by default, the search box's results come from remote.)</p>
</blockquote>

<p>Are you wanting to import data, or import then <strong>edit</strong> data? The first is relatively easy - create the database then use the osmosis <code>--write-apidb</code> task to import data (keeping in mind that <code>--write-apidb</code> is <em>amazingly</em> slow). To do it properly (not giving superuser to every postgres account involved) can be a bit annoying.</p>

<p>If the latter, then you need to muck about with sequences so when you add a node it gets a suitable ID.</p>

<p>Having set up an apidb database a few times for testing, I can say that it was <em>never</em> properly documented anywhere.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href='https://github.com/openstreetmap/openstreetmap-website/issues/282#issuecomment-24569477'>view it on GitHub</a>.<img src='https://github.com/notifications/beacon/uTRSc6ihLa7Shf84BpiOpn1EUBjN_ytm2Ec9-RE0hf54U758_v1WDVbQPGHvrYkN.gif' height='1' width='1'></p>