![]() 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. 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 Step 1: Download and install XAMPP on your computer The first step on your way to install WordPress locally is to download and install the XAMPP software. Then copy the mv command and run in terminal. On Mac, copy the php commands and run in the terminal.On Windows, download and run the installer.Click "Explore" on the location tab to open your Xampp/Lampp folder ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |