prevent init of app and connecting to database while precompiling assets