Getting Started

Setup Skote - Symfony

Symfony 7.0 with Webpack Encore provides a clean, fluent API for defining basic build steps for your Symfony application. Webpack Encore supports several common CSS and JavaScript pre-processors.

Prerequisites:

Please follow the below steps to install and setup all prerequisites:

  • Technical Requirements

    Please check the Technical Requirements from the this link https://symfony.com/doc/current/setup.html#technical-requirements

  • Server
    Make sure to have the Xampp OR Wamp installed & running in your computer. If you already have installed Xampp / Wamp server on your computer, you can skip this step. Note: PHP must be 8.2 or higher version.

  • Composer

    Make sure to have the Composer installed & running in your computer. If you already have installed composer on your computer, you can skip this step.

  • Install Symfony CLI

    Please setup Symfony CLI regarding your operating system. https://symfony.com/download

  • Nodejs

    Make sure to have the Node.js installed & running in your computer. If you already have installed Nodejs on your computer, you can skip this step if your existing node version is greater than equal to 18.

  • Yarn

    Make sure to have the Yarn installed & running in your computer. If you already have installed yarn on your computer, you can skip this step.

  • Git

    Make sure to have the Git installed globally & running on your computer. If you already have installed git on your computer, you can skip this step.

Installation:

To setup the admin theme, follow below-mentioned steps:

  • Install Prerequisites

    Make sure to have all above prerequisites installed & running on your computer

After you finished with the above steps, you can run the following commands into the terminal/command prompt from the root directory (skote_*/HTML/ ) of the project to run the project locally or build for production use:

This would install all the required packages in the vendor folder.
If you getting any error when running composer install command, don't worry please continue with : composer update

composer install  
composer update  

This would install all the required dependencies in the node_modules folder.

yarn install  

To compile all SCSS and will copy all images, Js, Libs into the public directory. Run this command to get minify output for the production server.

yarn run build 

Runs the project locally. The development server is accessible at http://localhost:8000.

symfony server:start  

If You Wish to Runs the project locally on Different Port. The development server is accessible at http://localhost:8001.

symfony server:start --port=8001  
© Skote.