Skip to content

Commit

Permalink
Document installation instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
pspanja committed Jul 4, 2018
1 parent 56da1fa commit 5b17b9a
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions docs/reference/installation_instructions.rst
Original file line number Diff line number Diff line change
@@ -1,2 +1,23 @@
Installation instructions
=========================

To install Site API first add it as a dependency to your project:

```sh
composer require netgen/ezplatform-site-api:^2.5
Once Site API is installed, activate the bundle in ``app/AppKernel.php`` file by adding it to the
``$bundles`` array in ``registerBundles()`` method, together with other required bundles:

```php
public function registerBundles()
{
...
$bundles[] = new Netgen\Bundle\EzPlatformSiteApiBundle\NetgenEzPlatformSiteApiBundle();
$bundles[] = new Netgen\Bundle\EzPlatformSearchExtraBundle\NetgenEzPlatformSearchExtraBundle;
return $bundles;
}

0 comments on commit 5b17b9a

Please sign in to comment.