Skip to content

Commit c0dac00

Browse files
prefer "defang compose up" to "defang up"
1 parent 9aa6559 commit c0dac00

File tree

8 files changed

+16
-17
lines changed

8 files changed

+16
-17
lines changed

docs/concepts/defang-byoc.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ The Defang CLI can be configured to deploy to a cloud provider either by using t
2222
```bash
2323
# Supported provider values: auto, aws, defang, digitalocean
2424
# Default is auto, which deploys to the Defang Playground but warns if it detects cloud credentials
25-
$ defang up --provider=aws
25+
$ defang compose up --provider=aws
2626
# or
2727
$ export DEFANG_PROVIDER=digitalocean
2828
```
@@ -43,9 +43,9 @@ Please read the [DigitalOcean Provider](../providers/digitalocean/digitalocean.m
4343
## GCP
4444

4545
:::info
46-
Google Cloud Platform (GCP) support is coming soon to Defang. Stay tuned for updates!
46+
Google Cloud Platform (GCP) support is coming soon to Defang. Stay tuned for updates!
4747
:::
48-
Please check out the [GCP Provider](../providers/gcp/) page for more details.
48+
Please check out the [GCP Provider](../providers/gcp/) page for more details.
4949

5050
## Azure
5151

docs/faq/questions.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,15 @@ import {Button, ButtonGroup, FormGroup, FormLabel} from "@mui/material"
3333

3434
### Can I run production apps with Defang?
3535

36-
- Yes! Defang makes it easy to deploy your app on production-ready infrastructure in your own cloud account. For example, you can deploy your app to AWS with `defang up --provider=aws --mode=production`. Check out your preferred cloud provider on [Defang BYOC](../concepts/defang-byoc.md).
36+
- Yes! Defang makes it easy to deploy your app on production-ready infrastructure in your own cloud account. For example, you can deploy your app to AWS with `defang compose up --provider=aws --mode=production`. Check out your preferred cloud provider on [Defang BYOC](../concepts/defang-byoc.md).
3737

3838
### Does Defang support blue/green deployments?
3939

40-
- Defang does not currently support Blue/Green deploys, but it does support rolling updates with the `production` deployment mode. `defang up --mode=production`.
40+
- Defang does not currently support Blue/Green deploys, but it does support rolling updates with the `production` deployment mode. `defang compose up --mode=production`.
4141

4242
### Does Defang support rolling deployments?
4343

44-
- Yes! Defang supports rolling updates with the `production` deployment mode. `defang up --mode=production`.
44+
- Yes! Defang supports rolling updates with the `production` deployment mode. `defang compose up --mode=production`.
4545

4646
### Can I cancel a deployment once it has started?
4747

@@ -65,7 +65,7 @@ import {Button, ButtonGroup, FormGroup, FormLabel} from "@mui/material"
6565
- No. Defang is not a run-time platform. Instead, it lets you host and run your application on a [cloud provider](../category/providers) of your choice. You can think of it as a tool that makes it way easier to deploy to that cloud provider.
6666

6767
### What is the difference between Defang and platforms such as Vercel, fly.io, and Railway?
68-
- Defang is a tool that helps you get your application deployed to a [cloud provider](../category/providers) of your choice, and it is not a platform. Unlike platforms, Defang does not host your application. We do provide [Defang Playground](../concepts/defang-playground), but it is meant to be used as a testing environment only.
68+
- Defang is a tool that helps you get your application deployed to a [cloud provider](../category/providers) of your choice, and it is not a platform. Unlike platforms, Defang does not host your application. We do provide [Defang Playground](../concepts/defang-playground), but it is meant to be used as a testing environment only.
6969

7070
### What is the difference between Defang and tools such as SST?
7171
- Defang is cloud-agnostic and language-agnostic, meaning that it is designed to work with different [cloud providers](../category/providers), and programming languages. Since Defang is not tied to just one cloud or language, this allows for greater flexibility in a wide range of cases. Another difference is that Defang follows the [Compose specification](https://docs.docker.com/compose/compose-file/), allowing it to work smoothly with various container platforms such as Docker.
@@ -83,4 +83,3 @@ import {Button, ButtonGroup, FormGroup, FormLabel} from "@mui/material"
8383
### I'm getting a warning/error. What does it mean?
8484

8585
- Please see the [Common Error Messages](./warnings-errors.md) page.
86-

docs/getting-started.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ You can open the folder in your favorite editor and see the files that were gene
111111
Go back to your shell and type the following:
112112

113113
```
114-
$ defang up
114+
$ defang compose up
115115
```
116116

117117
If you have not used Defang before, you'll be prompted to log in.

docs/providers/aws/aws.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ If you have the AWS CLI installed, you should be able to successfully run `aws s
1919
Use the `--provider=aws` flag to tell the Defang CLI to use the AWS Provider or set the `DEFANG_PROVIDER` environment variable to `aws`.
2020

2121
```bash
22-
$ defang up --provider=aws
22+
$ defang compose up --provider=aws
2323
# or
2424
$ export DEFANG_PROVIDER=aws
2525
```

docs/providers/digitalocean/digitalocean.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ The Defang CLI will automatically check if these envinonment variables are set b
4242
Once you are ready to go, add the `--provider=digitalocean` to your command to tell the Defang CLI to use the DigitalOcean provider.
4343

4444
```bash
45-
$ defang up --provider=digitalocean
45+
$ defang compose up --provider=digitalocean
4646
# or
4747
$ export DEFANG_PROVIDER=digitalocean
4848
```

docs/tutorials/deploy-to-aws.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Defang allows you deploy to your own Amazon Web Services (AWS) acco
44
sidebar_position: 11
55
---
66

7-
# Deploy to Amazon Web Services (AWS)
7+
# Deploy to Amazon Web Services (AWS)
88

99
This tutorial will show you how to deploy your services to your own AWS account using Defang.
1010

@@ -34,12 +34,12 @@ If you have the AWS CLI installed (which is not required in order to use the Def
3434

3535
## Step 3 - Deploy
3636

37-
Invoke the `defang up` CLI command with the `--provider=aws` flag or set the `DEFANG_PROVIDER=aws` environment variable.
37+
Invoke the `defang compose up` CLI command with the `--provider=aws` flag or set the `DEFANG_PROVIDER=aws` environment variable.
3838

3939
For example:
4040

4141
```bash
42-
$ defang up --provider=aws
42+
$ defang compose up --provider=aws
4343
```
4444

4545
## Step 4 - Inspect your deployment

docs/tutorials/deploy-to-digitalocean.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@ Defang will look for your DigitalOcean credentials in your shell environment and
3131

3232
## Step 3 - Deploy
3333

34-
Invoke the `defang up` CLI command with the `--provider=do` flag or set the `DEFANG_PROVIDER=do` environment variable.
34+
Invoke the `defang compose up` CLI command with the `--provider=do` flag or set the `DEFANG_PROVIDER=do` environment variable.
3535

3636
For example:
3737

3838
```bash
39-
$ defang up --provider=do
39+
$ defang compose up --provider=do
4040
```
4141

4242
## Step 4 - Inspect your deployment

docs/tutorials/deploy-to-playground.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ $ cd path/to/your/project
2323
## Step 2 - Deploy
2424

2525
```
26-
$ defang up
26+
$ defang compose up
2727
```
2828

2929
If you have not used Defang before, you'll be prompted to log in.

0 commit comments

Comments
 (0)