Skip to content

Commit 139cead

Browse files
Merge branch 'main' into jordan/deduplicate-samples
2 parents d226c6e + a284e50 commit 139cead

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+764
-247
lines changed

blog/2023-06-29-Announcing-the-Private-Beta-for-the-DOP.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ We realize that improving on this state of affairs is a long journey. Today, we
1212

1313
**Try the Private Beta!**
1414

15-
To try the Private Beta, please go to [portal.defang.dev](https://portal.defang.dev) and register. We would love to have you kick the tires and give us your feedback! You can also check out our [documentation](https://docs.defang.io/docs/intro), [samples](https://docs.defang.io/docs/intro), and our [Github repository](https://github.com/DefangLabs).
15+
To try the Private Beta, please go to [portal.defang.dev](https://portal.defang.dev) and register. We would love to have you kick the tires and give us your feedback! You can also check out our [documentation](https://docs.defang.io/docs/intro), [samples](https://docs.defang.io/docs/intro), and our [GitHub repository](https://github.com/DefangLabs).
1616

1717
**Stay Tuned for More**
1818

blog/2024-02-12-announcing-defang-public-beta.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ You can learn more about Defang [here](https://docs.defang.io/docs/intro). Also
1616

1717
**Try the Public Beta!**
1818

19-
To try the Public Beta, please go to [defang.io](http://defang.io) and click on [Download](https://github.com/DefangLabs/defang/releases/latest) to download the CLI and [get started](https://docs.defang.io/docs/getting-started). We would love to have you kick the tires and give us your feedback! Once you sign up you’ll receive an invitation to our Slack support channel in email. You are also welcome to file [Github issues here](https://github.com/DefangLabs/defang/issues).
19+
To try the Public Beta, please go to [defang.io](http://defang.io) and click on [Download](https://github.com/DefangLabs/defang/releases/latest) to download the CLI and [get started](https://docs.defang.io/docs/getting-started). We would love to have you kick the tires and give us your feedback! Once you sign up you’ll receive an invitation to our Slack support channel in email. You are also welcome to file [GitHub issues here](https://github.com/DefangLabs/defang/issues).
2020

2121
**Stay Tuned for More**
2222

blog/2024-03-20-dev-environments.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ We want it to be easy for you to try Defang with as little friction as possible,
1515

1616
## Codespaces
1717

18-
If you want to get started with Codespaces, you can just fork [this repo](https://github.com/DefangLabs/github-codespace). It comes with the Defang CLI pre-installed so you can start playing with it immediately. It's setup using the Defang CLI [Dev Container Feature](https://github.com/DefangLabs/devcontainer-feature/pkgs/container/devcontainer-feature%2Fdefang-cli).
18+
If you want to get started with Codespaces, you can just fork [this repo](https://github.com/DefangLabs/github-codespace). It comes with the Defang CLI pre-installed so you can start playing with it immediately. It's set up using the Defang CLI [Dev Container Feature](https://github.com/DefangLabs/devcontainer-feature/pkgs/container/devcontainer-feature%2Fdefang-cli).
1919

2020
## Dev Containers
2121

2222
[Dev Containers](https://code.visualstudio.com/docs/devcontainers/containers) are a cool way to provision and configure development environments and share that configuration with other people you are working with. It's a spec that is supported by [VS Code](https://code.visualstudio.com/docs/devcontainers/containers), [Visual Studio](https://devblogs.microsoft.com/cppblog/dev-containers-for-c-in-visual-studio/), the JetBrains IDEs like [IntelliJ](https://www.jetbrains.com/help/idea/connect-to-devcontainer.html) and [PyCharm](https://www.jetbrains.com/help/pycharm/connect-to-devcontainer.html), [DevPod](https://devpod.sh/docs/developing-in-workspaces/devcontainer-json) and others.
2323

24-
## GitPod
24+
## Gitpod
2525

26-
GitPod is another Cloud IDE, a bit like GitHub Codespaces. If prefer GitPod, you can try Defang in a GitPod environment by using [this repo](https://github.com/DefangLabs/gitpod-workspace/tree/main).
26+
Gitpod is another Cloud IDE, a bit like GitHub Codespaces. If prefer Gitpod, you can try Defang in a Gitpod environment by using [this repo](https://github.com/DefangLabs/gitpod-workspace/tree/main).

blog/2024-03-28-slackbot-sample.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Now that we have everything set up, let's dive into the deployment process. Foll
4747
2. **Deploy the Slackbot:** Use the Defang CLI's `defang compose up` command to deploy.
4848
4949
## Usage
50-
With your Slackbot up and running, let's explore how to make the most of it. Simply send a POST request to the `/` endpoint with a JSON body containing the message you want to post to the Slack channel. Popular tools like cURL or Postman can help you send the request:
50+
With your Slackbot up and running, let's explore how to make the most of it. Let's send a POST request to the `/` endpoint with a JSON body containing the message you want to post to the Slack channel. Popular tools like cURL or Postman can help you send the request:
5151
5252
```bash
5353
curl 'https://raphaeltm-bot--8080.prod1.defang.dev/' \

blog/2024-05-01-may-product-updates.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Hey folks! There is a lot going on at Defang and we're excited to share our late
1111

1212
## npx defang
1313

14-
We know a lot of you are using Defang for the first time. To make it easier to get started, we've added a new way to install the Defang CLI. Now you can use npx to run the CLI without installing it globally. Just run:
14+
We know a lot of you are using Defang for the first time. To make it easier to get started, we've added a new way to install the Defang CLI. Now you can use npx to run the CLI without installing it globally by running:
1515

1616
```bash
1717
npx defang@latest

blog/2024-11-12-hard-lessons-from-hardware.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ This is what the Flask server looked like on my computer as it got pinged:
4141

4242
Hooray! Once everything was working, It was time to deploy my Flask code as a cloud service so I could access it from any computer, not just my own. Deployment usually takes several hours due to configuring a ton of cloud provider settings. But I ain’t got time for that. Instead, I used Defang to deploy it within minutes, which took care of all that for me. Saved me a lot of time and tears.
4343

44-
Here’s the Flask deployment on Defang’s portal view:
44+
Here’s the Flask deployment on Defang’s Portal view:
4545

4646
![portal_view](/img/hardware-story/portal_view.png)
4747

blog/2024-12-04-launch-week.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ At **Defang**, we’re enabling developers go from **idea to code to deployment
3333

3434
- **Production-Ready Support for AWS**
3535

36-
Seamlessly deploy and scale with confidence on [AWS](https://docs.defang.io/docs/providers/aws). Defang is now [WAFR](https://aws.amazon.com/premiumsupport/business-support-well-architected/)-compliant, assuring that your deployments confirm to all the best-practices for AWS deployments. Defang is now officially part of the [AWS Partner Network](https://aws.amazon.com/partners/).
36+
Seamlessly deploy and scale with confidence on [AWS](https://docs.defang.io/docs/providers/aws). Defang is now [WAFR](https://aws.amazon.com/premiumsupport/business-support-well-architected/)-compliant, assuring that your deployments conform to all the best-practices for AWS deployments. Defang is now officially part of the [AWS Partner Network](https://aws.amazon.com/partners/).
3737

3838
- **New - Google Cloud Platform ([GCP](https://docs.defang.io/docs/providers/gcp)) in Preview**
3939

@@ -51,7 +51,7 @@ As we move into V1, we are also rolling out our differentiated product tiers, al
5151

5252
We’ve lined up an exciting week of activities to showcase the power of **Defang** and bring together our growing community:
5353

54-
- **December 4: Vancouver CDW x AWS re:Invent WatchParty**
54+
- **December 4: Vancouver CDW x AWS re:Invent Watch Party**
5555

5656
Join us at the Vancouver [CDW x AWS re:Invent Watch Party](https://lu.ma/1r0zsw76), where we will have a booth showcasing Defang’s capabilities and AWS integration. Stop by to learn more about Defang and see a live demo from the Defang dev team.
5757

blog/2024-12-11-product-hunt.md

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
---
2+
slug: 2024-12-11-product-hunt
3+
title: "Defang is live on Product Hunt!"
4+
tags:
5+
[
6+
Cloud,
7+
BYOC,
8+
V1,
9+
Launch Week,
10+
Defang Compose Update,
11+
Product Hunt,
12+
]
13+
author: Defang Team
14+
image: https://docs.defang.io/img/product-hunt/product-hunt.png
15+
---
16+
import { Button } from '@mui/material';
17+
18+
![Defang Compose Update - Product Hunt](/img/product-hunt/product-hunt.png)
19+
20+
21+
# **Defang is live on Product Hunt!**
22+
23+
The moment is finally here – **Defang V1 is officially LIVE on Product Hunt!** 🎉
24+
25+
<a
26+
href="https://www.producthunt.com/posts/defang?embed=true&utm_source=badge-featured&utm_medium=badge&utm_souce=badge-defang"
27+
target="_blank"
28+
>
29+
<img
30+
src="https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=689929&theme=light"
31+
alt="Defang - Go from idea to your favorite cloud in minutes. | Product Hunt"
32+
style={{ width: 250, height: 54, borderRadius: '0px !important' }}
33+
className="unstyled"
34+
width={250}
35+
height={54}
36+
/>
37+
</a>
38+
39+
40+
Over the past few months, our team has been working tirelessly to create a tool that transforms how developers develop, deploy, and debug cloud apps. With Defang, you can go from idea to your favorite cloud in minutes. 🚀
41+
42+
Today, we have the opportunity to showcase Defang to a global audience, and your support could make all the difference!
43+
44+
If you already have a Product Hunt account, it's super easy.
45+
* ✅ You can support our product if you like what we have built so far
46+
* ✅ You can leave a comment and any feedback you may have (comments are great!)
47+
* ✅ You can leave a review
48+
49+
Product Hunt launches are time sensitive as they last 24 hours, so if you have 30 seconds available right now, it would really mean a lot.
50+
51+
If you don't already have a Product Hunt account, please don't create one now to upvote (we may get penalized for that).
52+
53+
Instead, you can like and share our (e.g. LinkedIn, Twitter, Instagram or Facebook) posts
54+
.
55+
Thank you in advance. Your support means the world.

docs/concepts/accounts.md

Lines changed: 10 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,32 +6,26 @@ sidebar_position: 100
66

77
# Accounts
88

9-
In this section, we'll be talking about a couple different topics related to accounts in Defang. First we'll cover authentication and how to create an account, and then we'll talk about how resources are organized within a cloud environment using your account info.
9+
Below, we will cover account creation with Defang, and how resources are organized within a cloud environment using your account info.
1010

11-
:::tip Why do I need an account?
12-
Defang requires an account so we can organize your resources and provide you with a way to manage them. We also use your account to authenticate you when you interact with [Defang Playground](./defang-playground.md) and the [Defang Portal](./portal.md).
13-
14-
Eventually, billing and payment information will be associated with your account.
15-
:::
11+
Defang requires an account so we can organize your resources and provide you with a way to manage them. We also use your account to authenticate you when you interact with [Defang Playground](./defang-playground.md) and the [Defang Portal](./portal.md). Billing and payment information is also associated with your account.
1612

1713
## Creating an Account
1814

19-
To create an account, simply login to Defang and accept the [terms of service](https://defang.io/terms-service.html) using the [CLI](/docs/concepts/authentication.md).
15+
To create an account, log in to Defang and accept the [Terms of Service](https://defang.io/policies/terms-service/) using the [CLI](/docs/concepts/authentication.md).
16+
17+
At the moment, the only way to authenticate with Defang is through GitHub. We plan to offer other [authentication](/docs/concepts/authentication.md) providers in the future.
2018

21-
At the moment, the only way to authenticate with Defang is through GitHub. We plan to offer other authentication providers in the future.
19+
:::tip
20+
Keep in mind that your Defang account is separate from your [cloud provider account](./defang-byoc.md). You will need to authenticate with your cloud provider account separately to deploy services to your own cloud account.
21+
:::
2222

2323
## Structure
2424

25-
Your GitHub username will be used as your Defang username and your Defang username is used to group all your services and to generate domains for your services with the following structure:
25+
Your GitHub username will be used as your Defang username. Your Defang username is used to group all your [services](/docs/concepts/services) and generate domains for your services with the following structure:
2626

2727
```
2828
<username>-<servicename>--<port>.prod1.defang.dev
2929
```
3030

31-
:::warning
32-
Keep in mind that your Defang account is separate from your [cloud provider account](./defang-byoc.md). You will need to authenticate with your cloud provider account separately to deploy services to your own cloud account.
33-
:::
34-
35-
:::info
36-
We plan to introduce a more robust system for managing accounts, permissions, service groups, etc. in the future.
37-
:::
31+
For more about domain structures, see our [Domains](/docs/concepts/domains#structure) page.

docs/concepts/authentication.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ description: Authenticating with Defang.
66

77
# Authentication
88

9-
To do pretty much anything with Defang, you'll need to authenticate with the system. You can do this by running the following command:
9+
To do pretty much anything with Defang, you'll need to authenticate with the system. You can do this by running the following command in the [CLI](/docs/getting-started):
1010

1111
```bash
1212
defang login
1313
```
1414

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.
15+
This will prompt you to open a browser and log in to your [Defang account](/docs/concepts/accounts). For now, the only way to log in 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.
1616

17-
:::warning
17+
:::tip
1818
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.
1919
:::

0 commit comments

Comments
 (0)