bitfumes / Create-Blog-with-Admin-Panel

Learn Laravel while Creating Blog and Admin side also. We will use Bootstrap template for Blog and Admin LTE for admin panel
80 stars 79 forks source link

Basic Readme #1

Open hellracer opened 7 years ago

hellracer commented 7 years ago

Hi I follow your youtube channel and you rock, man can you make a small readme on how can someone install this on their machine?

bitfumes commented 7 years ago

Yup sure, I will create ReadMe for you all

solaiman6551 commented 6 years ago

Hello. I have watched your youtube tutorial. It was really helpful. I tried all the steps but some of them are not working for some mistakes. Can you tell me how to install this project ? It will be very helpful !

MarcoSerson commented 6 years ago

See it: https://www.youtube.com/watch?v=kN-Z4yrKH-8

vkpaul123 commented 6 years ago

Hi. It's quite easy.

Firstly install basic Laravel 5.4 project on your computer. Also pay attention that get the 5.4 version and not the 5.5 version, as his project was done in 5.4. Follow Laravel 5.4 Documentation for installation instructions on the Laravel website.

Then come to this Bitfumes Create-Blog-with-Admin-Panel GitHub repo. There will be a Clone and Download button. Click there and that will download the zip of this project. The downloaded zip will be something like "create-blog-with-admin-panel-master.zip". Right click and do 'Extract Here' to extract that zip. Then go inside that newly created folder and copy all the contents, Select all and Copy.

Then go to your folder in which you had installed Laravel 5.4. paste all those contents to Overwrite all the existing contents.

Then set up the environment variables for the Database mainly, and check if you want to set up any other variables in the .env file.

Create the database with whatever name he has created. Don't create any tables in it. Run 'php artisan migrate' to create all the required tables.

Start the Laravel Server and DONE!! you have his project!

vkpaul123 commented 6 years ago

I'd also recommend learning Laravel 5.5 instead, because that's the new girl in the town!!! He also has videos for Laravel 5.5.

protected22 commented 6 years ago

Hi, I got an problem after using php artisan migrate, It says Migration table created succesfully, but also after it an error

I get this error: In Conection.php line 647: SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes <SQL: alter table users add unique users_email_unique<email>>

In Conection.php line 449: SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes

KashanMehmood commented 4 years ago

Hi, I got an problem after using php artisan migrate, It says Migration table created succesfully, but also after it an error

I get this error: In Conection.php line 647: SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes <SQL: alter table users add unique users_email_unique<email>>

In Conection.php line 449: SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes

Add following code in app\Providers\AppServiceProvider.php

use Illuminate\Support\Facades\Schema; public function boot() { Schema::defaultStringLength(191); }