mirror of
https://github.com/symfony/ux.symfony.com.git
synced 2026-03-24 00:02:09 +01:00
6073e6d55f10cef2ef64993fa2cefc4cdf5d8ab0
- Docker compose file format is now "compose.yml" - "version" field is deprecated - mercure docker runs without the command line (it actually was not working anymore)
ux.symfony.com
Source code for ux.symfony.com.
Installation
Source code
Install the project:
git clone git@github.com:symfony/ux
cd ux/ux.symfony.com/
Install the dependencies:
symfony composer install
Services
(optional) Configure Docker to launch Mercure
docker compose up -d
Database
Run database migrations:
symfony console doctrine:migration:migrate
Populate the database:
symfony console app:load-data
Assets
Download the importmap packages locally:
symfony console importmap:install
Compile the Sass files:
symfony console sass:build
# (optional) Add the --watch flag to automatically recompile the Sass files on change.
symfony console sass:build --watch
Local server
Start the local web server (in background):
symfony server:start -d
Testing
symfony php bin/phpunit
Languages
PHP
55%
Twig
29.8%
SCSS
11.5%
JavaScript
2.4%
CSS
1.1%
Other
0.2%