This is development app for Roadiz v2. It aggregates all Roadiz bundle and main repositories in one place:
- DocGenerator
- Documents
- DtsGenerator
- EntityGenerator
- Jwt
- Markdown
- Models
- OpenId
- Random
- RoadizCompatBundle
- RoadizCoreBundle
- RoadizFontBundle
- RoadizRozierBundle
- RoadizTwoFactorBundle
- RoadizUserBundle
- Rozier
- Clone this repository containing all monorepo packages in
lib
directory - Checkout
develop
branch - Initialize
git flow init
to use GitFlow branching model - Create a
.env.local
file with mandatoryAPP_SECRET
andJWT_PASSPHRASE
vars minimum - Create a
compose.override.yaml
file to expose containers ports - Run
composer install
to install all dependencies and run scripts. Symfony packages may add some config files and alter yourcompose.yml
file, you can safely rollback to the original one
- Run docker compose to get a local database and Solr server:
docker compose up -d
- Install Roadiz database fixture:
docker compose exec app bin/console install
- Install development fixtures:
docker compose exec app bin/console app:install
- Create a user:
docker compose exec app bin/console users:create -s -b -m $EMAIL $EMAIL
These require a manual configuration in config/packages/*.yaml
files and cannot be injected in Container,
you'll find configuration example in RoadizCoreBundle/config/packages
and RoadizCompatBundle/config/packages
folders:
- Doctrine ORM mapping
- Doctrine migrations path
- JMS Serializer naming strategy
- Monolog custom doctrine handler
- Roadiz security scheme
make test
Note that phpstan can issue wrong errors if your lib/*
bundles are symlinked.
Roadiz development env uses: https://github.com/symplify/monorepo-builder
vendor/bin/monorepo-builder merge
: Makes sure all your packages deps are in development repository andvendor/bin/monorepo-builder validate
: Make sure all your packages use the same versionvendor/bin/monorepo-builder release patch --dry-run
: List all steps to do when release a new tag (do not actually perform this when using GitFlow)