Getting Started
Setup Judia
Symfony 6 with Webpack Encore giving you a clean & powerful API for bundling JavaScript modules, pre-processing CSS & JS and compiling and minifying assets.
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 version must be 8.1 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.
-
Nodejs
Make sure to have Node.js installed & running on your computer. If you already have installed Node on your computer, you can skip this step if your existing node version is greater than 18. We suggest you to use LTS version of Node.js.
-
Yarn
Make sure to have the Yarn installed & running on your computer. If you already have installed Yarn on your computer, you can skip this step. We suggest you use Yarn instead of NPM.
-
Git
Make sure to have Git installed globally & running on your computer. If you already have installed git on your computer, you can skip this step.
After you finished with the above steps, you can run the following commands into the terminal/command prompt from the root directory (Judia_*/Symfony/Admin ) of the project to run the project locally or build for production use:
Command | Description |
---|---|
composer install
|
This would install all of the framework's required dependencies in the vendor folder.
|
yarn install
|
This would install all the required dependencies in the node_modules folder.
|
yarn run build
|
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. |
symfony server:start
|
Run the project locally, The development server is accessible at http://localhost:8000. |
symfony server:start --port=8001
|
If you wish to run the project locally on different Port. The development server is accessible at http://localhost:8001. |