## Deploying To deploy the EPICS archiver appliance, you simply have to copy the `.war` files generated by the build to Tomcat\'s webapps folder. Tomcat will expand the war file on startup. It is often more convenient to deploy all the WAR\'s into the same tomcat container for development. One can use something like ```bash pushd ${TOMCAT_HOME}/webapps && rm -rf retrieval* && popd && cp ../retrieval.war ${TOMCAT_HOME}/webapps pushd ${TOMCAT_HOME}/webapps && rm -rf engine* && popd && cp ../engine.war ${TOMCAT_HOME}/webapps pushd ${TOMCAT_HOME}/webapps && rm -rf etl* && popd && cp ../etl.war ${TOMCAT_HOME}/webapps pushd ${TOMCAT_HOME}/webapps && rm -rf mgmt* && popd && cp ../mgmt.war ${TOMCAT_HOME}/webapps ``` to deploy all the same webapps on the same Tomcat instance. To set the locations of the various stores, ```bash export ARCHAPPL_SHORT_TERM_FOLDER=/arch/sts/ArchiverStore export ARCHAPPL_MEDIUM_TERM_FOLDER=/arch/mts/ArchiverStore export ARCHAPPL_LONG_TERM_FOLDER=/arch/lts/ArchiverStore ```