prepare app for deployment