Template and Styling
This repository holds the code for Symfony 4 and Webpack.
To get it working on your environment, Please follow these steps.:
Download Composer dependencies
Make sure you have Composer installed and then run: Open your terminal Clone a source code from my repository
git clone git@github.com:boonkuaeb/template-style.git Go to source code directory
cd template-styleInstall all dependencies by composer.phar
php -d memory_limit=-1 composer.phar installRun cp command to create .env file.
cp .env.dist .envBuild Assets
Please make sure you already have installed NodeJs on your environment.
To build a assets, install the dependencies with yarn install and then
run yarn build to generate CSS and JS files to public/build folder:
yarn install
yarn buildStart the built-in web server
Use the built-in web server that come with Symfony
php bin/console server:runTo check the site by open browser and type url http://localhost:8000.