allekslar/monofony-demo-backend

package based on Monofony/Demo for a quick demo of the backend

v1.1.0 2023-03-09 16:59 UTC

This package is auto-updated.

Last update: 2024-04-09 19:37:16 UTC


README

Package based on Monofony/Demo designed to be installed on Monofony/Skeleton for a quick demo of the backend

Monofony demo Monofony demo2

Installation

If you have Composer installed globally.

composer require allekslar/monofony-demo-backend

Configure the plugin:

Copy the routing file monofony_demo_backend.yaml from the package folder ./config/copy/routes/ to your config/routes/

or run the command

    composer run-script post-install -d ./vendor/allekslar/monofony-demo-backend

Extend config files:

Add SyliusTaxonomyBundle and SyliusLocaleBundle to config/bundles.php.

// config/bundles.php

    Sylius\Bundle\TaxonomyBundle\SyliusTaxonomyBundle::class => ['all' => true],
    Sylius\Bundle\LocaleBundle\SyliusLocaleBundle::class => ['all' => true],

Finish the installation by updating the database schema and installing assets and fixtures:

    bin/console doctrine:migrations:diff
    bin/console doctrine:migrations:migrate
    bin/console assets:install
    bin/console doctrine:fixtures:load -n

Admin

Username: admin@example.com Password: admin

Run before uninstall:

    composer run-script remove -d ./vendor/allekslar/monofony-demo-backend

License

This bundle is under the MIT license. See the complete license in the bundle

About