Setup Laravel 5.x with Admin Panel by Boilerpate

Go to link GitHub – rappasoft/laravel-5-boilerplate: A Laravel 5 Boilerplate Project – http://laravel-boilerplate.com

Download setup an extract folder in your local repository

Open setup folder in CMD

Run Command : update composer

Open “Sublime Text” editer or any other editer, Open file .env.example from root directry “save as” file with name “.env”

open .env file Change:
DB_DATABASE=your_DB_name
DB_USERNAME=root
DB_PASSWORD=

Than in CMD run command : PHP artisan migrate
Output will be :

C:\xampp\htdocs\blog>php artisan migrate
Migrating: 2014_10_12_000000_create_users_table
Migrated: 2014_10_12_000000_create_users_table
Migrating: 2014_10_12_100000_create_password_resets_table
Migrated: 2014_10_12_100000_create_password_resets_table
Migrating: 2015_12_28_171741_create_social_logins_table
Migrated: 2015_12_28_171741_create_social_logins_table
Migrating: 2015_12_29_015055_setup_access_tables
Migrated: 2015_12_29_015055_setup_access_tables
Migrating: 2016_07_03_062439_create_history_tables
Migrated: 2016_07_03_062439_create_history_tables
Migrating: 2017_04_04_131153_create_sessions_table
Migrated: 2017_04_04_131153_create_sessions_table

Than run next Command :php artisan db:seed
The output will be like this:
C:\xampp\htdocs\blog>php artisan db:seed
Seeding: AccessTableSeeder
Seeding: UserTableSeeder
Seeding: RoleTableSeeder
Seeding: UserRoleSeeder
Seeding: PermissionTableSeeder
Seeding: PermissionRoleSeeder
Seeding: HistoryTypeTableSeeder

Check your DB, you will find all tables Now your setup ready to work
login to admin panel : admin@admin.com and password : 1234

For more info regarding login go to \database\seeds\Access\UserTableSeeder.php file you can change user name here.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s