precompiling assets and changing to production mode