Run multiple Laravel projects from Homestead - Set up Laravel Homestead tutorial 5
HTML-код
- Опубликовано: 28 мар 2019
- Follow me on social media:
Twitter: @QuentinWatt
Facebook: @quentinwatt
Instagram: @quentinwatt
Subscribe:
/ quentinwatt
I also make videos here:
/ quentin
Donate with Paypal:
www.paypal.com/cgi-bin/webscr...
So this series has literally saved my life!!! Thank you. I was needing a little more help than the Laravel site offered.
Glad it helped.
Thank you so much for this series! There were at least 1-2 things in each episode that I couldn't figure out based on the official Laravel site. Thanks to these videos I got things up and running and going to save a ton of time down the line.
Glad I could help! If you're using a Mac, try Valet. It's easier than homestead.
this series has been incredible. keep up the good work.
Thank you
Quentin Watt.Thank you very much.I'm very happy with your's tutorials.Good Success!!!
Thank you, I'm glad it helped. :)
Thanks for the series!
You helped a lot!
Glad to hear that. :D
Happy my content is helpful.
Broo... You're a lifesaver :D
Thanks for the tutorial! I've learned a lot.
It's a pleasure. :)
Thank you so much!
So clear!
Love you!
I'm glad you liked it.
You're the best !
thank you :D
Good Lord. Man, I almost gave up on this Laravel thing. The Laravel documentation is no even close to what you do here. Thank you so much!!!! Time to hit the road on PHP.
I’m glad the video was helpful ☺️
Thanks you for this.
Happy it helped. :)
Thanks for the tutorial! it was amazing. (Y)
wow. i fussed around so much with the multi project setup before seeing this. You completely clear it up watching you run vagrant provision while the machine is still up but you are not SSHd in. Thanks.
Glad to hear I cleared it up for you.
Thanks a lot.
I’m glad you liked it
Thank u very much
Grateful !
Glad to hear that.
thanks
It's a pleasure. Glad it was helpful.
You should be able to do ‘vagrant rsync-auto’ to no have restart vagrant each time
Thanks for your contribution.
I use Mac, so I use Laravel Valet and I don't have to work with Vagrant very often at all. This is just so Windows user's have something to follow along with. :D
Thanks..
You're welcome!
Waiting javascript,angular,mongodb videos from long time
Well there will be some JavaScript in future but I'm not too sure about angular as I'd rather use Vue or maybe React. :)
@@QuentinWatt ok react and vue is also fine...you teachs excellent
ehh insted of 1 command "php artisan serve" you have to done this steps and insted of "CTRL+C" and "php artisan serve" it takes about 1 seccound you have to wait 20sec ... because of command "vagrant provision" or "vagrant helt" + "vagrant up"
i think i still miss something why people use it, because "php artisan serve" / php -S ... is MUCH FASTER
Thanks for the tip. I normally use Laravel Valet so I don't have to run these commands.
So I can run just one site at the time? I need run provision every time that I need to refresh to see the other site?
No.. the title of the video would not mislead you this way. You can have multiple sites running.
Hi! Do you have tutorial on how to open a Laravel project someone has given you?
There are some good blogs on medium for that.
Usually:
- clone the Laravel repo.
- copy the .env.example file to a new .env file
- run php artisan key:generate to generate the app key
- add your database details to the .env
- usually then run your migrations and seeders
Is there a way to run multiple Homestead instances (vagrant boxes). I have an instance that we use for work, but would like to have separate Homestead instance that I could use for personal projects. Thanks!
It’s possible although it’s a bit of a wasted resource. You can run them all in the same machine.
If you want to have 2 you can set up everything in this series again in a different folder on your computer. You simply need to change the name of the vagrant box (which I think I do in tutorial 2) because I was running 2 vagrant machines for this series.
it's helpful, but I find it unclear do you can host both projects at the same time or only one of them?
I have to ask how to create more than project and run them all in multiple ports/IP ?
per example : api.homestead.test & web.homestead.test
As long as the virtual server is running. All projects will be accessible on the same port. They're all running at the same time.
The domains are dependent on how you mapped your etc/hosts file, shown in a separate video.
JAVASCRIPT new and an advanced css one
Where is "artisan"? I keep getting "Could not open input file: artisan"
In the root of the laravel project.
Unfortunately this didn't work for me and I'm on a windows machines sucks to be me
The documentation on it is available here:
laravel.com/docs/6.x/homestead#adding-additional-sites
It works the same for both mac and windows since it's just a yaml config. You should be able to read through the documentation carefully and find the problem. Remember to restart your vagrant machine, or re-provision like I did in the video.
First viewer: )
10 points! hehe. Have you joined the notification squad?
@@QuentinWatt A new javascript series and an advanced css one too please.its been more than an year and i am still waiting .