TC Web Tools Deploy Procedures
I. Development Site
- > cd ${TC}/WebTc.${YEAR}
- > ant clean
- > ant
- > ant deploy
II. Testing & Deploy Site
- Source (Development) site:
- > cd ${TOMCAT}/webapps
- > gtar -czvf WebTc.${YEAR}.tgz WebTc.${YEAR}
- > sftp targetServer
- > cd ${TC}
- > gtar -czvf tc.${YEAR}.tgz tc.${YEAR}
- > sftp targetServer
- Target (Testing/Deploy) site:
- > cd ${TOMCAT}/webapps
- > gtar -xzvf WebTc.${YEAR}.tgz
- > cd ${TOMCAT}/webapps/apps/WebTc.${YEAR}/WEB-INF
- > mv web.xml.${SERVER} web.xml
- > cd ${PROJECTS}/TC/
- > gtar -xzvf tc${YEAR}.tgz
- > cd tc${YEAR}
- > ./install/bin/install_linux.sh
- link data for previous versions