diff --git a/InstallMIP.cmd b/InstallMIP.cmd index c0b82ba..cce9ccb 100644 --- a/InstallMIP.cmd +++ b/InstallMIP.cmd @@ -28,6 +28,9 @@ if "%6"=="" goto :done if "%6"=="demo" goto :demo if "%6"=="test" goto :test if "%6"=="fat" goto :fat +if "%6"=="sat" goto :sat +if "%6"=="uat" goto :uat +if "%6"=="live" goto :live :demo @@ -65,9 +68,48 @@ cd ..\.. goto :done +:sat +@echo Install SAT data +cd Data\sat +call InstallData %3/%4@%5 +@echo Installed sat data +@echo Installing sat application in APEX... +ruby apex_auto_install.rb +cd ..\.. + +@echo sat install Complete + +goto :done + +:uat +@echo Install UAT data +cd Data\uat +call InstallData %3/%4@%5 +@echo Installed uat data +@echo Installing uat application in APEX... +ruby apex_auto_install.rb +cd ..\.. + +@echo uat install Complete + +goto :done + +:live +@echo Install live data +cd Data\live +call InstallData %3/%4@%5 +@echo Installed live data +@echo Installing live application in APEX... +ruby apex_auto_install.rb +cd ..\.. + +@echo live install Complete + +goto :done + :usage -echo "usage InstallMIP sys_name sys_password app_name app_password db_connect_string [demo|test|fat]" +echo "usage InstallMIP sys_name sys_password app_name app_password db_connect_string [demo|test|fat|sat|uat|live]" :done sqlplus %3/%4@%5 @Data\BulkLoad\bulk_load.sql "%6" \ No newline at end of file