Skip to content

Latest commit

 

History

History
77 lines (52 loc) · 1.6 KB

README.md

File metadata and controls

77 lines (52 loc) · 1.6 KB

Blog-laravel

This is built on Laravel Framework 5.5. This was built for demonstrate purpose.

Installation

Clone the repository-

https://github.com/hpez/Blog-laravel.git

Then cd into the folder with this command-

cd Blog-laravel

Then do a composer install

composer install

Then create a environment file using this command-

cp .env.example .env

Then edit .env file with appropriate credential for your database server. Just edit these two parameter(DB_USERNAME, DB_PASSWORD).

Then create a database named blog and then do a database migration using this command-

php artisan migrate
php artisan db:seed

At last generate application key, which will be used for password hashing, session and cookie encryption etc.

php artisan key:generate

Run server

Run server using this command-

php artisan serve

Then go to http://localhost:8000/admin/dashboard from your browser and see the app admin. (Username: [email protected], Password: password

Then go to http://localhost:8000 from your browser and see the app.

Ask a question?

If you have any query please contact at [email protected]

Screenshot

Home Page Front Page Category Category Posts NewsLetter Subscribe Blog Footer Search Page Category Post page Single Post Page Share Tag Posts Comments Section admin