Hi.

This is (I'm hoping) a simple enough question.

I develop locally on my machine using XAMPP, then deploy my
application to my linux server for staging testing, and then live.

I can do server specific settings easy enough using the config files.
Lets take the database connection for example. This is my
databases.yml (edited of course),


prod:
  myapp:
    class:          sfPropelDatabase
    param:
      dsn:          mysql://user:[EMAIL PROTECTED]/myappdb

staging:
  myapp:
    class:          sfPropelDatabase
    param:
      dsn:          mysql://user:[EMAIL PROTECTED]/myappdb

all:
  myapp:
    class:          sfPropelDatabase
    param:
      dsn:          mysql://[EMAIL PROTECTED]/myappdb


This works, but what if I want to test the prod environment on my
local machine without having to constanting edit config files?

Is there a better/more preferred way of doing server specific settings
accross multiple environments? Or are environments the server specific
setting wrappers?

Thank you.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to