<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Imported openstreetmap to my local network, using this guide:</p>
<p><a class="moz-txt-link-freetext" href="https://github.com/openstreetmap/openstreetmap-website/blob/master/INSTALL.md">https://github.com/openstreetmap/openstreetmap-website/blob/master/INSTALL.md</a></p>
<p>Some problems with ruby and gems but solved.</p>
<p>Working great.</p>
<p>How can i make update of database an preserve acounts for map
editor</p>
<p>Update of database:</p>
<p>1. <code>osmosis --truncate-apidb host="localhost"
database="openstreetmap" user="openstreetmap" password=""
validateSchemaVersion="no"</code></p>
<p><code>2. </code><code><code>osmosis --read-xml
file=greater-london-latest.osm --write-apidb host="localhost"
database="openstreetmap" user="openstreetmap" password=""
validateSchemaVersion="no" with a new osm downloaded from
geofabrik<br>
</code></code></p>
<p><code><code>3. after restarting rail server and access
<a class="moz-txt-link-freetext" href="http://localhost:3000">http://localhost:3000</a> i have no accounts in map editor.</code></code></p>
<p><code><code>I must redefine accounts and passwords.</code></code></p>
<p><code><code><br>
</code></code></p>
</body>
</html>