Source code for ux.symfony.com.
Install the project:
git clone git@github.com:symfony/ux
cd ux/ux.symfony.com/
Install the dependencies:
symfony composer install
(optional) Configure Docker to launch Mercure
docker compose up -d
Run database migrations:
symfony console doctrine:migration:migrate
Populate the database:
symfony console app:load-data
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
Start the local web server (in background):
symfony server:start -d
symfony php bin/phpunit