php bakery bake.If installation of npm dependencies fails, see npm to ensure npm is correctly installed and updated. You may need to change npm permissions.
When trying to view your site you get an error similar to this :
An exception has been thrown during the rendering of a template ("The asset 'vendor/font-awesome/css/font-awesome.css' could not be found. Referenced in '/home/vagrant/userfrosting/app/sprinkles/core/asset-bundles.json [css/main]'.").
This is an indication that asset build failed or you missed a step in the installation process. Try running the installer again with php bakery bake and check for any error messages.
UserFrosting uses a dynamic routing system for serving assets in a development environment. For this to work on an Apache webserver, mod_rewrite needs to be enabled, and you need to give Apache permission to use the .htaccess file in public/.
mod_rewriteIf you have shell access to your server, please take the following steps (from Stack Overflow):
sudo a2enmod rewritesudo service apache2 restartIf this still does not work, you may need to change the override rule in your Apache configuration to allow Apache to use UserFrosting's .htaccess file.
.htaccessapache2.conf, http.conf, or 000-default.conf). In XAMPP, for example, this file is located at XAMPP/etc/httpd.conf.Directory /var/www/Override None to Override AllYou may need a server admin to do this if you are using shared hosting.
If you get an error stating rewrite module is not found, then your userdir module is probably not enabled. To enable it:
sudo a2enmod userdirFor more information, see this blog article.
UF_MODE='production'.The production mode, by default, enables route caching. This can result in route definitions not being updated in the cache during production. To resolve this, you should clear the route cache in app/cache/routes.cache.