Kavita Cardozo wrote:

> Hello, I'd like to know if anyone is deploying Magnolia wars across 
> environments like DEV, QA and PRD. If yes, what all do you include in the 
> WARs for deployment.

We have Jenkins building a single WAR which goes through testing, staging and 
production. We have separate magnolia.properties files outside the WAR for 
environment-dependent configuration.

You can also use this: 
https://documentation.magnolia-cms.com/display/DOCS/WAR+file+with+multiple+configurations

> Do you extract the XML files and bootstrap them or do you use another 
> approach.

Use version handlers: 
https://documentation.magnolia-cms.com/display/DOCS/Configuring+a+custom+bundle#Configuringacustombundle-Createaversionhandler

> Also, does anyone come across the ItemNotFoundException on server restarts. 
> Any way to avoid them?

An ItemNotFoundException just means an item is not found in the repository. I 
don’t think there is a generic answer to your question. Maybe you have some 
more details?

> Is there such a thing like best practices for Magnolia setup?

Grégory wrote a nice series of blog posts:

Don’t build Magnolia: build your projects.
http://dev.magnolia-cms.com/~gjoseph/dont-build-magnolia-build-your-projects

Don’t configure Magnolia: let your projects configure it.
http://dev.magnolia-cms.com/~gjoseph/dont-configure-magnolia-let-your-projects-configure-it

Don’t deploy Magnolia: deploy your project.
http://dev.magnolia-cms.com/~gjoseph/dont-deploy-magnolia-deploy-your-project

Also see the documentation for Developing here: 
https://documentation.magnolia-cms.com/display/DOCS/Developing

Nils.

----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <user-list-unsubscr...@magnolia-cms.com>
----------------------------------------------------------------

Reply via email to