![]() You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. After I do everything it says when I execute: Restart Apache with the Xampp panel Now visit ot htttp://laravel.test:8080 on Mac I get server not found error. Or Go to Wamp64 > You need Laravel installer to create a new Laravel project. any update? I am also having issue using this gist to setup Laravel. On Sat, at 5:10 PM rishisriv > wrote: commented on this gist. Using this method the root is c:\xampp\htdocs\laragigs and you should be able to follow along with Brad's tutorial, as I was, without having to change any config files etc. What I did instead was use the artisan server: First I opened up a terminal (I didn't use VS Code for this - just cmd as I'm in Windows) Then I navigated to c:\xampp\htdocs\laragigs in that terminal (cd c:\xampp\htdocs\laragigs) Finally I entered: php artisan serve (and Enter) You should see a message: Starting Laravel development server: (at least for me the port was 8000) In your browser type (or whatever your port was other than 8000) as the url and you should be on your way. I think what was meant was: rather than but that also didn't work for me. Remove the # from the beginning of this line #Include etc/extra/nf Now visit ot htttp://laravel.test:8080 on Mac If it does not work, make sure virtual hosts file is enabled in nf Mac - /opt/lampp/etc/extra/nfĭocumentRoot /opt/lampp/htdocs/PROJECT_NAME/public.Windows - C:/xampp/apache/conf/extra/nfĭocumentRoot "C:/xampp/htdocs/PROJECT_NAME/public".Windows - C:/Windows/System32/drivers/etc/hosts. ![]() We now need to create a virtual host for our project Edit Hosts File htdocs is where all of your local projects go.Ĭomposer create-project -prefer-dist laravel/laravel PROJECT_NAME You can also install composer with HomebrewĬreate a New Laravel Project With Composer Then copy the mv command and run in terminal.
0 Comments
Leave a Reply. |