prepare the app for deploy