DEPLOYMENT PROCESS OF SNIPPET REPO BROWSER APPLICATION
Deploy new application
To deploy a new application to Tomcat server, please follow 4 steps below:
1. Stop Tomcat.
2. Delete file ROOT.war and folder ROOT in “C:\Tomcat 6.0\webapps”.
3. Copy file ROOT.war from “C:\Tomcat 6.0\snippet_war_files” to “C:\Tomcat 6.0\webapps”.
4. Start Tomcat.
Roll back the last stable application
If there is any problem with the new application, you can rollback the application by follow these steps:
1. Stop Tomcat.
2. Delete folder ROOT and file ROOT.war in folder webapps, say C:\Tomcat 6.0\webapps.
3. Choose the last stable version of file ROOT.war in folder C:\Tomcat 6.0\snippet_war_files.
Copy it into folder C:\Tomcat 6.0\webapps
Rename it ROOT.war.
4. Start Tomcat.