Skip to content

Commit d273f38

Browse files
harlowtj
authored andcommitted
Update references to Staging in docs (#745)
* Update references to Staging in docs There seems to be some documentation drift between "development" and "staging" environments. * Change all occurrences of "development" to "staging" when it comes to the default `up` commands. * add .com to up example url
1 parent ba77a21 commit d273f38

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

docs/06-commands.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -414,19 +414,19 @@ Flags:
414414

415415
### Examples
416416

417-
Show the development endpoint.
417+
Show the staging endpoint.
418418

419419
```
420420
$ up url
421421
```
422422

423-
Open the development endpoint in the browser.
423+
Open the staging endpoint in the browser.
424424

425425
```
426426
$ up url --open
427427
```
428428

429-
Copy the development endpoint to the clipboard.
429+
Copy the staging endpoint to the clipboard.
430430

431431
```
432432
$ up url --copy

docs/07-guides.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -228,15 +228,15 @@ You should see "Hello World from production" and "Hello World from staging".
228228

229229
Now that you have an application deployed, you probably want a fancy custom domain for it right? You can map these using the `stages` and `domain` properties.
230230

231-
Here we let Up know that we want `up-example.com` for production and `dev.up-example` for staging.
231+
Here we let Up know that we want `up-example.com` for production and `stage.up-example.com` for staging.
232232

233233
```json
234234
{
235235
"name": "up-example",
236236
"profile": "up-tobi",
237237
"stages": {
238238
"staging": {
239-
"domain": "dev.up-example.com"
239+
"domain": "stage.up-example.com"
240240
},
241241
"production": {
242242
"domain": "up-example.com"
@@ -303,7 +303,7 @@ $ up stack apply
303303

304304
After the changes have been applied, it can take roughly 10-40 minutes for CloudFront to distribute the configuration and SSL certificate globally, so until then our up-example.com domain won't work.
305305

306-
Once available https://up-example.com will always point to production via `up deploy production`, and https://dev.up-example.com/ will point to the latest deployment via `up`.
306+
Once available https://up-example.com will always point to production via `up deploy production`, and https://stage.up-example.com/ will point to the latest deployment via `up`.
307307

308308
### Mapping Domains from External Registrars
309309

0 commit comments

Comments
 (0)