comparison scripts/import-usas.sh @ 46:dfbb643b82a3

tee import logs to a file
author smith@nwoca.org
date Tue, 02 Feb 2016 21:24:28 +0000
parents e5ba33051de7
children e155908fa039
comparison
equal deleted inserted replaced
45:dc40a6ed0af3 46:dfbb643b82a3
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 # start import and wait for completion 12 # start import and wait for completion
13 docker-compose -f docker-compose.yml -f /ssdt/compose/preview/import.yml up usasimport 13 docker-compose -f docker-compose.yml -f /ssdt/compose/preview/import.yml up usasimport | tee usasimport.log
14 # remove temporary container 14 # remove temporary container
15 docker-compose -f docker-compose.yml -f /ssdt/compose/preview/import.yml rm -f usasimport 15 docker-compose -f docker-compose.yml -f /ssdt/compose/preview/import.yml rm -f usasimport
16 # start application 16 # start application
17 docker-compose up -d usasapp 17 docker-compose up -d usasapp
18 18