Skip to content

Commit

Permalink
Updated README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
kmadejski committed Aug 12, 2019
1 parent 32ee72e commit e555d61
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,30 +5,22 @@ In this mode the site (or particular SiteAccess) will not be available for the e

# Installation

1) Since the bundle is not on packagist yet, you have to add the repository manually to your `composer.json` file:
```json
"repositories": [
{ "type": "composer", "url": "https://updates.ez.no/ttl" },
{ "type": "vcs", "url": "https://github.com/kmadejski/ezplatform-maintenance-mode.git" }
],
```

2) Install the bundle:
- Install the bundle:
```bash
composer require kmadejski/ezplatform-maintenance-mode:dev-master
```

3) Enable the bundle in your `app/AppKernel.php` file:
- Enable the bundle in your `app/AppKernel.php` file:
```php
$bundles = [
...
new EzSystems\EzPlatformMaintenanceModeBundle\EzSystemsEzPlatformMaintenanceModeBundle(),
];
```

4) Clear application cache:
- Clear application cache:
```bash
php bin/console cache:clear
php bin/console cache:clear --env=prod
```

# Configuration
Expand Down

0 comments on commit e555d61

Please sign in to comment.