laravel public directory does not exist

0

I installed Composer yesterday and create a new project with the console using this command:

composer create-project --prefer-dist laravel/laravel lp

At this address: C: \ xampp \ htdocs \ xampp \ ad Everything was fine until I tried to test the application, I went through the browser to the project folder, but the folder was not there public If I go to the folder on my computer it is, but on localhost it is not. I'm new to this language, so I do not know how to handle myself.

Thanks in advance.

    
asked by Charly Utrilla 19.01.2018 в 19:33
source

1 answer

1

to visualize the application try these steps: 1. open the cmd (windows + r key) 2. put the following command to get to the path of your folder:

cd C:\xampp\htdocs\xampp\ad
  • Run the following command to run a web server with your app.

    php artisan serve

  • enter your preferred browser to the route link

  • answered by 19.01.2018 / 22:48
    source