Skip to content

Commit

Permalink
update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
twin-elements committed Oct 4, 2021
1 parent 7f7982b commit 5550bbf
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
##Installation
```composer require twin-elements/admin-bundle```

in `/config/packages/routes.yaml` add
```
admin_dashboard:
path: /admin/
controller: TwinElements\AdminBundle\Controller\DashboardController::index
methods: GET
options: { i18n: false }
admin_core:
resource: "@TwinElementsAdminBundle/Controller/"
type: annotation
Expand All @@ -19,7 +21,7 @@ admin_core:
options: { i18n: false }
```

add in `/config/packages/security.yaml `
in `/config/packages/security.yaml ` add
```
imports:
- { resource: '@TwinElementsAdminBundle/Resources/config/security.yaml' }
Expand Down Expand Up @@ -51,5 +53,11 @@ role:
<tag name="twin_elements.admin_menu"/>
</service>
```
3.Menu items automatically added in main admin menu
3.Done

#### Creating a new super admin user

In the command line entre the command:

``php bin/console te:admin:create_super_admin``

0 comments on commit 5550bbf

Please sign in to comment.