Laravel From Scratch [Part 2] - Environment Setup & Laravel Installation

preview_player
Показать описание
In this video we will setup our environment. We will be using XAMPP which gives us an Apache server with PHP and MySQL. We will install Laravel with Composer and we will be using the Git Bash terminal and integrate it with Visual Studio Code

CODE: Complete Code For This Series

XAMPP SETUP:

10 PROJECT LARAVEL COURSE: Please use affiliate link below
50% OFF: Use special code "traversy"

SUPPORT: We spend massive amounts of time creating these free videos, please donate to show your support:

FOLLOW TRAVERSY MEDIA:
Рекомендации по теме
Комментарии
Автор

What I find amazing is that it doesn't matter how much you think you know, with technology and programming you're always learning that you have so much more to learn than you think. Si curiously you first learn that you have a lot to learn and then you actually start learning the subjects themselves. Fascinating. Really good video man.js

SkylarkMotion
Автор

WoW...!!...Your tutorials KICKS-AWAY all of the FEARS....those I was holding for a LONG TIME while thinking about LARAVEL..!!

kazimrahman
Автор

for those lsapp.dev or lsapp. test is not working try using lsapp.me and make sure you restart apache each time you change name. i got error for lsapp.dev and lsapp.test but it worked for lsapp.me, but after restarting apache, lsapp.test started to work too. hope it helps

Short_Storm
Автор

Quick Host-File tip.
On Windows right-click the desktop and select new>shortcut.

In the Location of item paste in:
"C:\Program Files (x86)\Microsoft VS Code\Code.exe"
^Please note that the C will need to be replaced with whatever drive you installed MS Code.

Then right-click and select properties on the new shortcut. Select the Compatibility tab and check Run this program as an administrator. Hit apply and now you will have a shortcut to open the host file as admin in MS Code.

Fattyfatguyross
Автор

This year is 2023 and I'm about to start learning laravel I hope your videos help me learn this framework. I will comment again soon. thank you brad in advance! actually I've been following you since I'm I start learning web development.

tjksklh
Автор

Brother. You have to be the coolest bro on the planet. I'm 53 and have worked with the best - you are positively 'tops' in my book.

ChrisSwafford
Автор

Brad, right click on the terminal and select move panel right to implement the ride side terminal feature

kiche_allan
Автор

Hey man I'm following you for some time now. Just wanted to say thank you for all of the hard work you are doing. You help a lot of people, me included

timetolive
Автор

Moving the terminal panel to the left side
goto -> View -> Appearances -> Toggle Pannel Position

denoldtimer
Автор

Brad Traversy teach code masterly, absolutely his is LEGEND, god bless you brad ... thank you .

zaniyarvatani
Автор

My coding friend got me set up with the bits and pieces I'd need to start figuring out a little project I have in my head. With virtually no real coding experience I had no idea how I'd find tutorials online to help me with all this ... ironically you've incorporated every piece he's mentioned, so thank you! =) Looking forward to figuring all this out... I greatly appreciate the video series on this.

ryanmossaway
Автор

To move the terminal (panel) to the side, add to user settings & reload

"right"

amd
Автор

for the people where the dashbord shows on localhost and your project file. go to xampp programm > apache config button > httpd-sll.conf > ctrl + f "down" word = general > General setup for the virtual host > change document root to project root (So add /lsapp/public)

RCZY_OFFICIAL
Автор

There is no need to do all this procedure from 09:15 - 12:25 . After installing laravel just go to your application root directory and run php artisan serve

csandreas
Автор

For anyone that can't get it to work or just gets redirected to the Xampp dashboard do the following:

- You may just need to add or un-comment the NameVirtualHost *:80 before the v-hosts (the file that you see at 19:36)

noozle
Автор

For those who are inevitably having problems setting up a virtual host, no worries! VSCode has a built in server to help you out.

Open up your terminal.

Change your directory to the root folder of your Laravel App. For me, it's C:\xampp\htdocs\lsapp (do not go to lsapp\app).

Now, type php artisan serve


Go to your browser and go to that URL.

maxmaxmaxmaxmaxmaxmaxmaxmax
Автор

I'm starting this one in 2020. Very excited. Hopefully it hasn't become outdated or anything ...

king-manu
Автор

THANK YOU SO MUCH BRAD YOUR EXPLANATION OF SETTING UP VIRTUAL HOST SAVED ME. ALHAMDULILLAH

JonibekJ
Автор

For future viewers, if you want the terminal to be on the right side just right click on the terminal tab then select move panel right

newbieprogrammer
Автор

I'm using lampp on linux and I was redirected to the wamp home page instead of laravel home page when using lsapp.test .
To correct that I wrote in the next line:
Include ( for you it should be : Include "path_to_httpd-vhosts.conf" )

Note: I use lsapp.test instead of lsapp.dev because of the security problem with firefox

BrosseLaugan