improve docs in preparation for the Expose 2 launch

This commit is contained in:
Sebastian Schlein
2021-06-14 16:49:29 +02:00
parent 1fdcc50d4a
commit b9200e3790
4 changed files with 13 additions and 11 deletions

View File

@@ -5,9 +5,7 @@ order: 2
# Share your first site
Once you have installed Expose, you are ready to go and share your first local site.
The easiest way to share your local sites is by going into the folder that you want to share and run the `expose` command from your command line:
If you are on macOS and use Laravel Valet as your local development environment, the easiest way to share your local sites is by going into the folder that you want to share and run the `expose` command from your command line:
```bash
cd ~/Sites/my-awesome-project/
@@ -15,9 +13,11 @@ cd ~/Sites/my-awesome-project/
expose
```
The `expose` command assumes that your local site is available at `http://my-awesome-project.test`.
This command uses your Expose network token and connects to the Expose network server at sharedwithexpose.com and creates a tunnel. If you don't have an Expose token and don't want to host your own server, you can create a free account and get a token [here](https://beyondco.de/login).
To learn more about sharing your local sites, check out the [sharing local sites](/docs/expose/client/sharing) documentation.
If you run a different operating system or your local application runs in a virtual machine, Docker or uses a custom URL scheme, you can share the site by adding more parameters to the command. To learn more about sharing your local sites, check out the [sharing local sites](/docs/expose/client/sharing) documentation.
## Using the Expose network at sharedwithexpose.com