Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Basic Readme #1

Open
hellracer opened this issue Jul 11, 2017 · 7 comments
Open

Basic Readme #1

hellracer opened this issue Jul 11, 2017 · 7 comments

Comments

@hellracer
Copy link

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
Copy link
Collaborator

Yup sure, I will create ReadMe for you all

@solaiman6551
Copy link

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
Copy link

@vkpaul123
Copy link

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
Copy link

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
Copy link

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
Copy link

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);
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants