[Live-demo] [OSGeo] #1060: pre-seed DB credentials for tilemill postgis
OSGeo
trac_osgeo at osgeo.org
Tue Jan 29 15:07:29 PST 2013
#1060: pre-seed DB credentials for tilemill postgis
-------------------------+--------------------------------------------------
Reporter: hamish | Owner: live-demo@…
Type: enhancement | Status: new
Priority: minor | Milestone: OSGeoLive6.5
Component: LiveDVD | Keywords: 6.5, tilemill
-------------------------+--------------------------------------------------
Comment(by springmeyer):
This can be hacked in by initializing the `app.db` which TileMill creates
on first load and will re-use afterword. It is a json file of key/values.
Something like this should work, if run during the install
<pre>
mkdir -p ~/Documents/MapBox/
echo '{"key":"/api/Favorite/dbname=osm","val":{"id":"dbname=osm"}}' >
~/Documents/MapBox/app.db
</pre>
If you create favorites then they will get serialized to this file so you
could get the right params that way....
--
Ticket URL: <http://trac.osgeo.org/osgeo/ticket/1060#comment:1>
OSGeo <http://www.osgeo.org/>
OSGeo committee and general foundation issue tracker.
More information about the Live-demo
mailing list