I have a Play Framework (1.2.4) project with PlayMorphia that has two different database connection profiles. One is for development and the other is for production, but I am only seeing one static looking config file hosting the values.
I am reading on how this all works, but struggling on how to support two configuration settings. Is there some configuration trick in Play that people use?
suppose you have
ReplyDeletemorphia.db.name=test
Now add one more line:
%prod.morphia.db.name=prod
And start your application:
play start --%prod