comparison scripts/import-usas.sh @ 65:e155908fa039

improve import and training scripts. include all containers in info
author smith@nwoca.org
date Fri, 11 Mar 2016 16:50:12 +0000
parents dfbb643b82a3
children d2c44193fbaa
comparison
equal deleted inserted replaced
64:7c5992231aed 65:e155908fa039
6 export IMP_IRN=${IMP_IRN} 6 export IMP_IRN=${IMP_IRN}
7 export IMP_URL=${IMP_URL-ftp://username:password@nwoca.org} 7 export IMP_URL=${IMP_URL-ftp://username:password@nwoca.org}
8 export IMP_PATH=${IMP_PATH} 8 export IMP_PATH=${IMP_PATH}
9 export IMP_ANON=${IMP_ANON-} 9 export IMP_ANON=${IMP_ANON-}
10 export IMP_EM=${IMP_EM-} 10 export IMP_EM=${IMP_EM-}
11 11 #
12 docker-compose -f docker-compose.yml -f /ssdt/compose/preview/import.yml rm -f usasimport
12 # start import and wait for completion 13 # start import and wait for completion
13 docker-compose -f docker-compose.yml -f /ssdt/compose/preview/import.yml up usasimport | tee usasimport.log 14 docker-compose -f docker-compose.yml -f /ssdt/compose/preview/import.yml up usasimport | tee usasimport.log
14 # remove temporary container 15 # remove temporary container
15 docker-compose -f docker-compose.yml -f /ssdt/compose/preview/import.yml rm -f usasimport 16 docker-compose -f docker-compose.yml -f /ssdt/compose/preview/import.yml rm -f usasimport
16 # start application 17 # start application