On Mon, Feb 22, 2010 at 12:26 PM, Scott Seago sseago@redhat.com wrote:
Jason Guiditta wrote:
This patch updates environment so portal will run on both F11 and F12 as well as adding sample config files to support mysql and sqlite. If a developer/admin wants to use either, they can just rename them to database.yml. Perhaps we can do the same thing with postgres and have no versioned .yml file, always leave it to person installing to choose their db of choice, but if we do that, it will be in a subsequent patch.
This works too, although with more difficulty for running this as an RPM. As we discussed on IRC, we need some comments to the effect of:
- for running as an RPM, the db file (and the containing directory) must be
writable by the user running the server (currently dcloud) 2) for the RPM the db file should be an absolute path under /var/lib/deltacloud-portal rather than a relative path -- the rpm spec should eventually be modified to generate this path properly
ACK other than the comments needed here.
Scott
Thanks Scott, pushed with requested comments in database.sqlite