Skip to content

Latest commit

 

History

History
41 lines (27 loc) · 982 Bytes

INSTALL.md

File metadata and controls

41 lines (27 loc) · 982 Bytes

Netgen Content Browser installation instructions

Use Composer

Run the following command to install Netgen Content Browser:

composer require netgen/content-browser

Activate the bundles

Activate the Content Browser in your kernel class with all required bundles:

...

$bundles[] = new Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle();
$bundles[] = new Netgen\Bundle\ContentBrowserBundle\NetgenContentBrowserBundle();
$bundles[] = new Netgen\Bundle\ContentBrowserUIBundle\NetgenContentBrowserUIBundle();

return $bundles;

Activate the routes

Add the following to your main routing file to activate Content Browser routes:

netgen_content_browser:
    resource: "@NetgenContentBrowserBundle/Resources/config/routing.yaml"
    prefix: "%netgen_content_browser.route_prefix%"

Install assets

Run the following from your repo root to install Content Browser assets:

php bin/console assets:install --symlink --relative