Thanks Khalid! Can "--env" be set for any of the Propel CLI tasks? I
see from The symfony Cookbook that it can be used for the data
management tasks, but what about model generation etc.?

On Aug 2, 7:28 am, khalid <[email protected]> wrote:
> in the database .yml you can determine you environnement
>
> all:
>
> dev:
>
> test:
>
> ....
>
> each enviromment you can make propel:build-all --env=test or  --env=dev ....
> default is all
>
> 2009/8/2 jskidmore <[email protected]>
>
>
>
> > How does Propel determine which database to use for *command-line
> > tools* (ex. "propel:build-all")? I'm setting up two environments
> > (production and staging), and the databases will be different for
> > each.
>
> > Is it "propel.ini" or "databases.yml"? If the former, does symfony
> > auto-generate that file?
>
> > I would greatly appreciate any help. 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