This package integrates a blog in your Laravel 5 project. For a quick install follow the steps below.
This section will follow at a later time when the package is actulay submitted to packagist.
Add the following code to your providers array in config/app.php
'jorenvanhocht\Blogify\BlogifyServiceProvider',
Add the following code to your aliases array in config/app.php to be able to use the facade.
'Blogify' => 'jorenvanhocht\Blogify\Facades\Blogify',
In your terminal now enter the following artisan command.
Note: Your existing DatabaseSeeder.php file will be overwritten.
php artisan vendor:publish
This will place the following package folders and there files in your Laravel project.
- database/migrations/
- database/seeds/
- config/blogify/blogify.php
In the config file you can configure some handy config settings. I hardly recommend to loop through this file and configure it like you wish.
In this file you can also set the information for your admin user. This data will be used in the User Seeder to create your admin user in the database.
Now run the following commands in your terminal to create the database tables and seed the basic data like roles, users, ...
php artisan migrate
php artisan db:seed
credits: wysiwyg: ckeditor.com datetimepicker: http://www.jqueryrain.com/?ixXmZ27b