Skip to content

How to upgrade a Portofino 5 installation

Alessio Stalla edited this page Mar 3, 2020 · 2 revisions

If you're building the application "the Java way" with Maven:

  • update the version of Portofino in your pom.xml;
  • update the version of the Portofino angular library and dependencies in your package.json file, copying them from the demo-tt project or from a fresh project created from the Maven archetype.

If you've built the application "the PHP way", i.e., by starting from the one-click package from SourceForge, running the wizard and adding pages directly to the live instance:

  • backup your application;
  • download the new one-click package, unzip it, launch it and wait for it to finish its startup;
  • stop Tomcat/Portofino;
  • copy over these directories from your backup to the new installation:
    • $TOMCAT_HOME/webapps/ROOT/pages
    • $TOMCAT_HOME/webapps/ROOT/WEB-INF/actions
    • $TOMCAT_HOME/webapps/ROOT/WEB-INF/classes
    • $TOMCAT_HOME/webapps/ROOT/WEB-INF/portofino-model
    • ...and copy any other files you've added/modified.