Skip to content

hafizcode02/laravel-blog

Repository files navigation

Laravel Simple CMS with Laravel 8

this project from the youtube tutorial, link in end of readme. some code from youtube tutorial is customized to run in laravel 8

Clone this repo

https://github.com/Hafizcode02/laravel-simple-cms.git

Install composer packages

$ cd laravel-simple-cms
$ composer install
$ npm install
$ npm run dev

Create and setup .env file

make a copy of .env.example and rename to .env
$ php artisan key:generate
put database credentials in .env file

Migrate and insert records

$ php artisan migrate
$ php artisan tinker
$ factory(App\User::class, 5)->create();
$ factory(App\Post::class, 100)->create();
$ exit
$ php artisan db:seed --class=CategoriesTableSeeder
$ php artisan tinker
$ factory(App\CategoryPost::class, 100)->create();

Use storate images

$ php artisan storage:link

Mail setup

visit at : https://mailtrap.io/
put mail credentials in .env file

Full Tutorial

Click on the image bellow to see the YouTube video.

Laravel 7 Blog CMS

About

Simple CMS Customize with Laravel 8

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published