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: blog/2024-03-28-slackbot-sample.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ Hey folks! Today, I'm going to share one of our code samples that will show you
11
11
12
12
Before we dive into the details, let's make sure you have everything you need to get started:
13
13
14
-
1.**Install Defang CLI:** Simplify your deployment process by installing the Defang CLI tool. Follow the instructions [here](https://docs.defang.io/docs/getting-started/installing) to get it up and running quickly.
14
+
1.**Install Defang CLI:** Simplify your deployment process by installing the Defang CLI tool. Follow the instructions [here](https://docs.defang.io/docs/getting-started#install-the-defang-cli) to get it up and running quickly.
15
15
16
16
2.**Slack API Token:** Create a Slack App at https://api.slack.com/apps, granting it the necessary permissions, including the bot `chat:write` scope.
17
17

Copy file name to clipboardExpand all lines: docs/concepts/authentication.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,5 +15,5 @@ defang login
15
15
This will prompt you to open a browser and log into your Defang account. For now, the only way to login is with GitHub, though we will offer other providers to authenticate in the future. Once you've logged in, you can close the browser and return to the terminal. You should see a message that you've successfully logged in.
16
16
17
17
:::warning
18
-
Keep in mind that your Defang account is separate from your [cloud provider account](../concepts/defang-byoc.md). You will need to authenticate with your cloud provider account separately to deploy services to your own cloud account.
18
+
Keep in mind that your Defang account is separate from your [cloud provider account](/docs/concepts/defang-byoc). You will need to authenticate with your cloud provider account separately to deploy services to your own cloud account.
Copy file name to clipboardExpand all lines: docs/concepts/generate.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ sidebar_position: 100
6
6
7
7
# Generate
8
8
9
-
Defang includes an AI-driven agent that translates natural language prompts to an outline for your project that you can then refine. The AI agent is available through the [Defang CLI](../getting-started/installing.md).
9
+
Defang includes an AI-driven agent that translates natural language prompts to an outline for your project that you can then refine. The AI agent is available through the [Defang CLI](../getting-started#install-the-defang-cli.md).
10
10
11
11
:::info
12
12
The AI agent is currently in preview and only supports a limited set of prompts, varying in complexity. We plan to expand the capabilities of the AI agent in the future.
Copy file name to clipboardExpand all lines: docs/getting-started/getting-started.md
+51-2Lines changed: 51 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,12 +4,61 @@ title: Getting Started
4
4
description: Get started with Defang.
5
5
---
6
6
7
+
import Tabs from '@theme/Tabs';
8
+
import TabItem from '@theme/TabItem';
9
+
7
10
# Getting Started
8
11
12
+
## Install the Defang CLI
13
+
14
+
Defang doesn't require installing anything in your cloud, but you will need to install the [open source](https://github.com/DefangLabs/defang) Defang command line interface (CLI) to interact with your Defang resources and account.
15
+
16
+
We offer a few different ways to install the Defang CLI. You can use a shell script, Homebrew, Winget, or you can download the binary directly.
17
+
18
+
19
+
<Tabs>
20
+
<TabItemvalue="bash"label="Shell">
21
+
**Using a shell script**
22
+
23
+
You can install the Defang CLI using a shell script. Run the following command in your terminal:
24
+
25
+
```bash
26
+
eval "$(curl -fsSL s.defang.io/install)"
27
+
```
28
+
29
+
The script will try to download the appropriate binary for your operating system and architecture, add it to `~/.local/bin`, and add `~/.local/bin` to your `PATH` if it's not already there, with your permission. If you do not provide permission it will print an appropriate instruction for you to follow to add it manually. You can also customize the installation directory by setting the `INSTALL_DIR` environment variable before running the script.
30
+
</TabItem>
31
+
<TabItemvalue="homebrew"label="Homebrew"default>
32
+
**Using Homebrew**
33
+
34
+
You can easily install the Defang CLI using [Homebrew](https://brew.sh/). Run the following command in your terminal:
35
+
36
+
```bash
37
+
brew install DefangLabs/defang/defang
38
+
```
39
+
</TabItem>
40
+
<TabItemvalue="winget"label="Winget">
41
+
**Using Winget**
42
+
43
+
On Windows, you can install the Defang CLI using `winget`. Run the following command in your terminal:
First, you'll need to install the Defang CLI. The CLI is the primary way to interact with Defang. It allows you to create, deploy, and manage your services. You can find the [different installation methods here](./installing.md).
59
+
You can find the latest version of the Defang CLI on the [latest release page](https://github.com/DefangLabs/defang/releases/latest). Just download the appropriate binary for your operating system and architecture, and put it somewhere in your `PATH`.
Copy file name to clipboardExpand all lines: docs/intro/features.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,6 +17,6 @@ Defang provides a streamlined experience to develop, deploy, observe, and update
17
17
- Ability to express your project configuration using a [Docker Compose YAML](/docs/concepts/compose.md) file
18
18
- Ability to manage [encrypted configuration values](/docs/concepts/configuration.md)
19
19
- Pre-configured environments with built-in [security](/docs/concepts/security.md), [networking](/docs/concepts/networking.mdx), and [observability](/docs/concepts/observability.md)
Copy file name to clipboardExpand all lines: docs/intro/what-is-defang.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ description: What is Defang?
10
10
11
11
Defang is a radically simpler way for developers to develop, deploy, and debug their cloud applications. Defang enables you to easily author cloud application in any language, build and deploy to the cloud with a single command, and iterate quickly with AI-assisted tooling.
12
12
13
-
- The [Defang CLI](/docs/getting-started/installing.md) includes an AI-driven agent that translates natural language prompts to an outline for your project that you can then refine.
13
+
- The [Defang CLI](/docs/getting-started#install-the-defang-cli.md) includes an AI-driven agent that translates natural language prompts to an outline for your project that you can then refine.
14
14
- Defang can automatically build and deploy your project with a single command.
15
15
- If you’re new to Defang, you can try deploying to the [Defang Playground](/docs/concepts/defang-playground.md), a hosted environment to learn to use Defang with non-production workloads.
16
16
- Once you’re ready, you can [deploy](/docs/concepts/deployments.md) it to your own cloud account - we call this [Defang BYOC](/docs/concepts/defang-byoc.md). Defang takes care of all the heavy lifting such as configuring networking, security, [observability](/docs/concepts/observability.md) and all the other details that usually slow down the average cloud developer.
0 commit comments