Reputation: 419
I have Installed WAMP, Installed Composer. In the cmd I writed command:
composer global require laravel/installer
Laravel installer installed. Go to the folder c:/wamp/www
with cmd and writed the command:
laravel new blog
has appeared a folder blog with these content:
And now that I do to open the main page of the site in the browser?
Upvotes: 1
Views: 2110
Reputation: 481
You can see the app in browser by simply
http://localhost/blog/public
Or, you can create virtual host and point it to the 'public' folder of your laravel app and access site like
http://yourlocalsitename.dev/
After installing Laravel, you may need to configure some permissions. Directories within the storage
and the bootstrap/cache
directories should be writable by your web server or Laravel will not run.
Run composer update
from your terminal (from your project root).
Upvotes: 1
Reputation: 1362
An easy way is to use PHP's built-in development server.
In the root directory of your project run php artisan serve
and your site will be served on http://localhost:8000/
Upvotes: 1
Reputation: 163978
Point Wamp web server to a public
folder of Laravel project. Find httpd.conf
and change folders to something like this:
DocumentRoot "C:/wamp/www/public"
<Directory "C:/wamp/www/public">
Restart Apache and run localhost
in your browser. If everything is ok, you'll see Laravel start page.
Upvotes: 1