migrate database and install app locally in iMac