STMT - Build, Release, & Deploy

  • Build
    shell> cd ${STMT_DIR}
    Updates ./bin/genBuildInfo
    shell> ant build

  • Release
    shell> cd ${STMT_DIR}
    Updates ./bin/genBuildInfo
    shell> ant release
    shell> cd ..
    shell> gtar -czvf stmt2013.tgz stmt2013

  • Web Site Deployment
    • Pack web yearly release
      • Update web site under ${APACHE}/docs/LexSysGroup/Projects/stmt/${YEAR}
      • gtar -czvf ${YEAR}.tgz ${YEAR}

    • Send yearly release to target server
      • sftp ${YEAR}.tgz to ${TARGET_SERVER}:/${APACHE}/docs/LexSysGroup/Projects/stmt/.
      • slogin to ${TARGET_SERVER}
      • go to ${APACHE}/docs/LexSysGroup/Projects/stmt/
      • gtar -xzvf ${YEAR}.tgz

    • Update Search Engine
      • Edit ${YEAR}/web/menu.html
      • (Re)Build WebSite realm on FDSE Search Engine
        • fdse -> Admin -> Manage Realms -> Create New Realm
        • Name: stmt2013
        • File Name: stmt2013.txt
        • File System Discovery
        • Base URL: http://${SERVER}.nlm.nih.gov/LexSysGroup/Projects/stmt/2010
        • Folder: ${APACHE}/docs/LexSysGroup/Projects/stmt/2010

    • Update forwarding URL for public servers if it's a new project
      • Add ${APACHE}/homePages/LexSysGroup/stmt/index.html
      • Add ${APACHE}/homePages/SPECIALIST/stmt/index.html

      • Add ${APACHE}/docs/LexSysGroup/Projects/Summary/stmt.html