TC Web Tools Deploy Procedures

I. Development Site

  • > cd ${TC}/WebTc.${YEAR}
  • > ant clean
  • > ant
  • > ant deploy

II. Testing & Deploy Site

  • Source (Development) site:
    1. > cd ${TOMCAT}/webapps
    2. > gtar -czvf WebTc.${YEAR}.tgz WebTc.${YEAR}
    3. > sftp targetServer

    4. > cd ${TC}
    5. > gtar -czvf tc.${YEAR}.tgz tc.${YEAR}
    6. > sftp targetServer
  • Target (Testing/Deploy) site:
    1. > cd ${TOMCAT}/webapps
    2. > gtar -xzvf WebTc.${YEAR}.tgz
    3. > cd ${TOMCAT}/webapps/apps/WebTc.${YEAR}/WEB-INF
    4. > mv web.xml.${SERVER} web.xml

    5. > cd ${PROJECTS}/TC/
    6. > gtar -xzvf tc${YEAR}.tgz
    7. > cd tc${YEAR}
    8. > ./install/bin/install_linux.sh
    9. link data for previous versions