preventing initializing the app and connecting to the database during assets precompilation