Before you install Symfony, you should check to make sure that your system has the proper prerequisites installed. These include:
Assets compile require the build tools. These libraries are required as below:
The Symfony CLI is a developer tool to help you build, run, and manage your Symfony applications directly from your terminal. It's Open-Source, works on macOS, Windows, and Linux, and you only have to install it once in your system.
Below is one of the installation method on Windows. For Linux or Max user installation information can be found from here: Download Symfony
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
irm get.scoop.sh | iex
scoop install symfony-cli
cd starterkit
composer install
symfony server:start
starterkit/_keenthemes/tools
cd starterkit/_keenthemes/tools
yarn install
npm install
starterkit/_keenthemes/tools/package.json
and place them into _keenthemes/tools/node_modules
folder. starterkit/assets
folder:
gulp
npm run build
package.json
file. This step is very important for Webpack in Metronic template. The default package.json
works for Gulp. To make it work for Webpack, you have to modify tools/package.json
and remove "type": "module"
.
Otherwise, it will cause compilation error when running the build command.
starterkit
folder and run the following command. This command will listen for changes and hot reload them.
starterkit
folder.
cd starterkit
symfony server:start