You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+48-45Lines changed: 48 additions & 45 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -119,51 +119,6 @@ Add the BlogServiceProvider to `/config/app.php`
119
119
Modules\Blog\BlogServiceProvider::class,
120
120
```
121
121
122
-
### Blog Seeders (Optional Step)
123
-
124
-
The Blog Module has two built in Seeders:
125
-
126
-
1 - **BlogSeeder**: Will create `posts`, `authors`, `categories` and `tags`.
127
-
128
-
2 - **BlogAclSeeder**: Will create the ACL Permissions associated with the module, so it can be associated with the desired `ACL Role` through the App Interface.
129
-
130
-
You can manually run the seeders or you can add the seeders to be executed in the `database/seeders/DatabaseSeeder.php` file.
131
-
132
-
#### Adding the seeders to the DatabaseSeeder file
133
-
134
-
To add the seeders to the main DatabaseSeeder file, import the BlogSeeders and call them inside the `run` method:
Add the menu items to the `resources/js/Configs/menu.js` items array:
@@ -227,6 +182,54 @@ plugins: [
227
182
],
228
183
```
229
184
185
+
That's it, the Blog Module should be all functional in this step.
186
+
187
+
### Blog Seeders (Optional Step)
188
+
189
+
The Blog Module has two built in Seeders:
190
+
191
+
1 - **BlogSeeder**: Will create `posts`, `authors`, `categories` and `tags`. It will fetch images online to populate `posts`, `authors` and `categories`, so it can take a few seconds to complete.
192
+
193
+
2 - **BlogAclSeeder**: Will create the ACL Permissions associated with the module, so it can be associated with the desired `ACL Role` through the App Interface.
194
+
195
+
You can manually run the seeders or you can add the seeders to be executed in the `database/seeders/DatabaseSeeder.php` file.
196
+
197
+
#### Adding the seeders to the DatabaseSeeder file
198
+
199
+
To add the seeders to the main DatabaseSeeder file, import the BlogSeeders and call them inside the `run` method:
0 commit comments