You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: cmd/ddev/cmd/share.go
+10-2
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ import (
13
13
varDdevShareCommand=&cobra.Command{
14
14
Use: "share [project]",
15
15
Short: "Share project on the internet via ngrok.",
16
-
Long: `Use "ddev share" or add on extra ngrok commands, like "ddev share --basic-auth username:pass1234". Although a few ngrok commands are supported directly, any ngrok flag can be added in the ngrok_args section of .ddev/config.yaml. Requires a free or paid account on ngrok.com; use the "ngrok authtoken" command to set up ngrok.`,
16
+
Long: `Requires a free or paid account on ngrok.com, use the "ngrok config add-authtoken <token>" command to set up ngrok. Although a few ngrok commands are supported directly, any ngrok flag can be added in the ngrok_args section of .ddev/config.yaml.`,
Copy file name to clipboardexpand all lines: docs/content/users/topics/sharing.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ There are at least three different ways to share a running DDEV project outside
16
16
17
17
`ddev share` proxies the project via [ngrok](https://ngrok.com), and it’s by far the easiest way to solve the problem of sharing your project with others on your team or around the world. It’s built into DDEV and “just works” for most people, and requires a free or paid [ngrok.com](https://ngrok.com) account. All you do is run `ddev share` and then give the resultant URL to your collaborator or use it on your mobile device. [Read the basic how-to from DrupalEasy](https://www.drupaleasy.com/blogs/ultimike/2019/06/sharing-your-ddev-local-site-public-url-using-ddev-share-and-ngrok) or run `ddev share -h` for more.
18
18
19
-
There are CMSes that make this a little harder, especially WordPress and Magento 2. Both of those only respond to a single base URL, and that URL is coded into the database, so it makes this a little harder. For both of these I recommend paying ngrok the $5/month for a [basic plan](https://ngrok.com/pricing)so you can use a stable subdomain with ngrok.
19
+
CMSes like WordPress and Magento 2 make this a little harder by only responding to a single base URLthat’s coded into the database. ngrok’s $8/month [personal plan](https://ngrok.com/pricing)allows you to use a persistent subdomain so you won’t have to frequently change the base URL.
0 commit comments