mirror of
https://github.com/laravel/valet.git
synced 2026-02-06 08:40:09 +01:00
docs
This commit is contained in:
@@ -26,7 +26,13 @@ ### Getting Started
|
||||
|
||||
Once Valet is installed, you're ready to start serving sites. Valet provides two commands to help you serve your Laravel sites: `park` and `link`.
|
||||
|
||||
First, let's try the `park` command. Create a new directory on your Mac such `mkdir ~/Sites`. Next, `cd ~/Sites` and run `valet park`. This command will register your current working directory as a path that Valet should search for sites. Next, create a new Laravel site within this directory: `laravel new blog`. Next, you may simply open `http://blog.dev` in your browser. It's just that simple. Any Laravel project you create within your "parked" directory will automatically be served using the `http://folder-name.dev` convention.
|
||||
First, let's try the `park` command:
|
||||
|
||||
- Create a new directory on your Mac such `mkdir ~/Sites`. Next, `cd ~/Sites` and run `valet park`. This command will register your current working directory as a path that Valet should search for sites.
|
||||
- Next, create a new Laravel site within this directory: `laravel new blog`.
|
||||
- Now you may simply open `http://blog.dev` in your browser.
|
||||
|
||||
**It's just that simple.** Any Laravel project you create within your "parked" directory will automatically be served using the `http://folder-name.dev` convention.
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user