mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-03-24 00:32:17 +01:00
8 lines
643 B
Plaintext
8 lines
643 B
Plaintext
* Your Page is almost ready:
|
|
1. Generate a migration for Sonata Page Database <info>php bin/console doctrine:migrations:diff</info>
|
|
2. Apply the migration generated <info>php bin/console doctrine:migrations:migrate --no-interaction</info>
|
|
3. Create your first site: <info>bin/console sonata:page:create-site --enabled --name=localhost --locale=- --host=localhost --relativePath=- --enabledFrom=now --enabledTo=- --default</info>
|
|
<comment>Now you can create your first page at <info>/admin</info></comment>
|
|
|
|
* <fg=blue>Documentation</> <comment>https://docs.sonata-project.org/projects/SonataPageBundle/en/4.x/</comment>
|