prepare app to deploy
check env vars