Prepare app to deploy