#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.
_______________________________________________
Live-demo mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/live-demo
http://live.osgeo.org
http://wiki.osgeo.org/wiki/Live_GIS_Disc

Reply via email to