Skip to content

Commit 9e21bf2

Browse files
committed
rename github links
1 parent c8dba92 commit 9e21bf2

File tree

106 files changed

+251
-252
lines changed

Some content is hidden

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

106 files changed

+251
-252
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
1-
[![Go package](https://github.com/defang-io/defang/actions/workflows/go.yml/badge.svg?branch=main)](https://github.com/defang-io/defang/actions/workflows/go.yml)
1+
[![Go package](https://github.com/DefangLabs/defang/actions/workflows/go.yml/badge.svg?branch=main)](https://github.com/DefangLabs/defang/actions/workflows/go.yml)
22

33
# Defang
44

55
Defang is a radically simpler way for developers to create, deploy, and manage cloud applications.
66

77
This repo includes:
88

9-
- Public releases of the Defang CLI; [click here](https://github.com/defang-io/defang/releases/latest/) for the latest version
9+
- Public releases of the Defang CLI; [click here](https://github.com/DefangLabs/defang/releases/latest/) for the latest version
1010
- Samples in Golang, Python, and Node.js that show how to accomplish various tasks and deploy them to the DOP using a Docker Compose file using the Defang CLI.
11-
- Samples that show how to deploy an app using the [Defang Pulumi Provider](https://github.com/defang-io/pulumi-defang).
11+
- Samples that show how to deploy an app using the [Defang Pulumi Provider](https://github.com/DefangLabs/pulumi-defang).
1212

1313
## Getting started
1414

1515
- Read our [Getting Started](https://docs.defang.io/docs/getting-started) page
1616
- Follow the installation instructions from the [Installing](https://docs.defang.io/docs/getting-started/installing) page
17-
- Take a look at our [Samples folder](https://github.com/defang-io/defang/tree/main/samples) for example projects in various programming languages.
17+
- Take a look at our [Samples folder](https://github.com/DefangLabs/defang/tree/main/samples) for example projects in various programming languages.
1818
- Try the AI integration by running `defang generate`
1919
- Start your new service with `defang compose up`
2020

2121
## Installing
2222

2323
Install the Defang CLI from one of the following sources:
2424

25-
- Using the [Homebrew](https://brew.sh) package manager [defang-io/defang tap](https://github.com/defang-io/homebrew-defang):
25+
- Using the [Homebrew](https://brew.sh) package manager [defang-io/defang tap](https://github.com/DefangLabs/homebrew-defang):
2626
```
2727
brew install defang-io/defang/defang
2828
```
@@ -32,22 +32,22 @@ Install the Defang CLI from one of the following sources:
3232
```
3333
- Using [Go](https://go.dev):
3434
```
35-
go install github.com/defang-io/defang/src/cmd/cli@latest
35+
go install github.com/DefangLabs/defang/src/cmd/cli@latest
3636
```
3737
- Using the [Nix package manager](https://nixos.org):
3838
- with Nix-Env:
3939
```
40-
nix-env -if https://github.com/defang-io/defang/archive/main.tar.gz
40+
nix-env -if https://github.com/DefangLabs/defang/archive/main.tar.gz
4141
```
4242
- or with Flakes:
4343
```
4444
nix profile install github:defang-io/defang#defang-bin --refresh
4545
```
46-
- Download the [latest binary](https://github.com/defang-io/defang/releases/latest/) of the Defang CLI. For this beta, MacOS users will have to explicitly allow running of downloaded programs in the OS security settings.
46+
- Download the [latest binary](https://github.com/DefangLabs/defang/releases/latest/) of the Defang CLI. For this beta, MacOS users will have to explicitly allow running of downloaded programs in the OS security settings.
4747
4848
## Support
4949
50-
- File any issues [right here on GitHub](https://github.com/defang-io/defang/issues)
50+
- File any issues [right here on GitHub](https://github.com/DefangLabs/defang/issues)
5151
5252
## Command completion
5353

pkgs/defang/default.nix

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ let
1717
};
1818

1919
urlMap = {
20-
x86_64-linux = "https://github.com/defang-io/defang/releases/download/v0.5.16/defang_0.5.16_linux_amd64.tar.gz";
21-
aarch64-linux = "https://github.com/defang-io/defang/releases/download/v0.5.16/defang_0.5.16_linux_arm64.tar.gz";
22-
x86_64-darwin = "https://github.com/defang-io/defang/releases/download/v0.5.16/defang_0.5.16_macOS.zip";
23-
aarch64-darwin = "https://github.com/defang-io/defang/releases/download/v0.5.16/defang_0.5.16_macOS.zip";
20+
x86_64-linux = "https://github.com/DefangLabs/defang/releases/download/v0.5.16/defang_0.5.16_linux_amd64.tar.gz";
21+
aarch64-linux = "https://github.com/DefangLabs/defang/releases/download/v0.5.16/defang_0.5.16_linux_arm64.tar.gz";
22+
x86_64-darwin = "https://github.com/DefangLabs/defang/releases/download/v0.5.16/defang_0.5.16_macOS.zip";
23+
aarch64-darwin = "https://github.com/DefangLabs/defang/releases/download/v0.5.16/defang_0.5.16_macOS.zip";
2424
};
2525
in
2626
stdenvNoCC.mkDerivation {

pkgs/npm/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@
88
"defang": "./bin/cli.js"
99
},
1010
"keywords": [],
11-
"homepage": "https://github.com/defang-io/defang#readme",
11+
"homepage": "https://github.com/DefangLabs/defang#readme",
1212
"repository": {
1313
"type": "git",
14-
"url": "git+https://github.com/defang-io/defang.git"
14+
"url": "git+https://github.com/DefangLabs/defang.git"
1515
},
1616
"bugs": {
17-
"url": "https://github.com/defang-io/defang/issues"
17+
"url": "https://github.com/DefangLabs/defang/issues"
1818
},
1919
"scripts": {
2020
"build": "tsc",

samples/golang/Web Page and Form Post/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ This Go application demonstrates a simple form submission using the standard net
1111
2. A <a href="https://docs.defang.io/docs/concepts/compose">compose file</a> to define and run multi-container Docker applications (this is how Defang identifies services to be deployed). (compose.yaml file)
1212

1313
## Prerequisite
14-
1. Download <a href="https://github.com/defang-io/defang">Defang CLI</a>
14+
1. Download <a href="https://github.com/DefangLabs/defang">Defang CLI</a>
1515
2. If you are using <a href="https://docs.defang.io/docs/concepts/defang-byoc">Defang BYOC</a>, make sure you have properly <a href="https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-configure.html">authenticated your AWS account (optional)</a>
1616

1717
## A Step-by-Step Guide

samples/golang/go-mongodb-atlas/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ Frontend: Basic HTML and JavaScript are used for the frontend to interact with t
1313
Environment: Designed to run in containerized environments using Docker, which ensures consistency across different development and production environments.
1414

1515
## Prerequisite
16-
1. Download <a href="https://github.com/defang-io/defang">Defang CLI</a>
16+
1. Download <a href="https://github.com/DefangLabs/defang">Defang CLI</a>
1717
2. If you are using <a href="https://docs.defang.io/docs/concepts/defang-byoc">Defang BYOC</a>, make sure you have properly <a href="https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-configure.html">authenticated your AWS account</a>
1818
Plus, make sure that you have properly set all environment variables up
19-
3. There is a environment variable named MONGO_URI for the MONGODB connection string, in the compose file, be sure to put your mongodb URI, i.e.
19+
3. There is a environment variable named MONGO_URI for the MONGODB connection string, in the compose file, be sure to put your mongodb URI, i.e.
2020
mongodb+srv://<username>:<pwd>@host
2121

2222
## A Step-by-Step Guide

samples/nodejs/Basic Service/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Express Request Inspector
2-
This Node.js application, built with Express.js, is designed to inspect and display detailed information about incoming HTTP requests. It supports all HTTP methods and provides insights into the request path, method, headers, query parameters, and body. Note alongside your project, you should also include a package.json file that includes the relevant metadata such as package dependencies, scripts, project verrsions so that the Dockerfile can install necessary dependencies.
2+
This Node.js application, built with Express.js, is designed to inspect and display detailed information about incoming HTTP requests. It supports all HTTP methods and provides insights into the request path, method, headers, query parameters, and body. Note alongside your project, you should also include a package.json file that includes the relevant metadata such as package dependencies, scripts, project verrsions so that the Dockerfile can install necessary dependencies.
33

44

55

@@ -8,7 +8,7 @@ This Node.js application, built with Express.js, is designed to inspect and disp
88
2. A <a href="https://docs.defang.io/docs/concepts/compose">compose file</a> to define and run multi-container Docker applications (this is how Defang identifies services to be deployed).
99

1010
## Prerequisite
11-
1. Download <a href="https://github.com/defang-io/defang">Defang CLI</a>
11+
1. Download <a href="https://github.com/DefangLabs/defang">Defang CLI</a>
1212
2. If you are using <a href="https://docs.defang.io/docs/concepts/defang-byoc">Defang BYOC</a>, make sure you have properly <a href="https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-configure.html">authenticated your AWS account (optional)</a>
1313

1414
## A Step-by-Step Guide

samples/nodejs/Web Page and Form Post/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# Go Simple Form Submission App
2-
This is a basic Node.js application using the Express framework to demonstrate handling a form submission. The application serves an HTML form where users can input their first name and then greets them personally upon submission. Note alongside your project, you should also include a package.json file that includes the relevant metadata such as package dependencies, scripts, project verrsions so that the Dockerfile can install necessary dependencies.
2+
This is a basic Node.js application using the Express framework to demonstrate handling a form submission. The application serves an HTML form where users can input their first name and then greets them personally upon submission. Note alongside your project, you should also include a package.json file that includes the relevant metadata such as package dependencies, scripts, project verrsions so that the Dockerfile can install necessary dependencies.
33

44

55
## Essential Setup Files
66
1. A <a href="https://docs.docker.com/develop/develop-images/dockerfile_best-practices/">Dockerfile</a>.
77
2. A <a href="https://docs.defang.io/docs/concepts/compose">compose file</a> to define and run multi-container Docker applications (this is how Defang identifies services to be deployed).
88

99
## Prerequisite
10-
1. Download <a href="https://github.com/defang-io/defang">Defang CLI</a>
10+
1. Download <a href="https://github.com/DefangLabs/defang">Defang CLI</a>
1111
2. If you are using <a href="https://docs.defang.io/docs/concepts/defang-byoc">Defang BYOC</a>, make sure you have properly <a href="https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-configure.html">authenticated your AWS account (optional)</a>
1212

1313
## A Step-by-Step Guide

samples/nodejs/blogstarter/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This template is a starter project developed using Next.js designed to make it e
66
3. A <a href="https://docs.docker.com/build/building/context/#dockerignore-files">.dockerignore</a> file to comply with the size limit (10MB).
77

88
## Prerequisite
9-
1. Download <a href="https://github.com/defang-io/defang">Defang CLI</a>
9+
1. Download <a href="https://github.com/DefangLabs/defang">Defang CLI</a>
1010
2. If you are using <a href="https://docs.defang.io/docs/concepts/defang-byoc">Defang BYOC</a>, make sure you have properly <a href="https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-configure.html">authenticated your AWS account</a>
1111
Plus, make sure that you have properly set your environment variables like `AWS_PROFILE`, `AWS_REGION`, `AWS_ACCESS_KEY_ID`, and `AWS_SECRET_ACCESS_KEY`.
1212

samples/nodejs/blogstarter/_posts/guide.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,28 +9,28 @@ author:
99
ogImage:
1010
url: "/assets/blog/guide/cover.jpg"
1111
---
12-
We created this template to help you quickly launch your blogs. This template is built using Markdown and Next.js. We convert Markdown files to HTML string by using `remark` and`remark-html`. You can easily add new blogs or modify existing content (like this paragraph) by simply adding or changing the markdown files. We helped you to build all necessary files for deploying it through Defang. By simply downloading *[Defang](https://github.com/defang-io/defang)* and running `defang login` and `defang compose up` in the command line interface on your local machine, your blog will be available to everyone in the world.
12+
We created this template to help you quickly launch your blogs. This template is built using Markdown and Next.js. We convert Markdown files to HTML string by using `remark` and`remark-html`. You can easily add new blogs or modify existing content (like this paragraph) by simply adding or changing the markdown files. We helped you to build all necessary files for deploying it through Defang. By simply downloading *[Defang](https://github.com/DefangLabs/defang)* and running `defang login` and `defang compose up` in the command line interface on your local machine, your blog will be available to everyone in the world.
1313

1414
Here is a detailed guide:
1515

1616
### How to edit the blog
17-
1. Copy the code from our *[Github Repository](https://github.com/defang-io/defang/tree/main/samples/nodejs)* to your local machine
17+
1. Copy the code from our *[Github Repository](https://github.com/DefangLabs/defang/tree/main/samples/nodejs)* to your local machine
1818
2. In "_posts", there are three existing Markdown files, representing what is currently shown to you in the template. You could replace the content within.
1919
3. If you want to replace the cover image, you have to firstly add your image to the code. Then, find the "coverImage" tag and replace the directory (for example, "/assets/blog/exploration/cover.jpg") to the directory of your image.
2020
4. You may find other tags within the Markdown file:
2121
- Exerpt
22-
The exerpt tag refers to the summary you would see at the main page.
22+
The exerpt tag refers to the summary you would see at the main page.
2323
- Date
2424
The date tag refers to the time the current blog is created. The earliest blog will be placed at the top.
2525
- Author
26-
The author tag refers to the name and the icon you would see beneath the blog title. You could replace them to your designated name and profile icon.
26+
The author tag refers to the name and the icon you would see beneath the blog title. You could replace them to your designated name and profile icon.
2727

2828
### How to quickly deploy it with Defang
29-
1. Download *[Defang](https://github.com/defang-io/defang)*
29+
1. Download *[Defang](https://github.com/DefangLabs/defang)*
3030
2. Type `defang login` in your command line interface
3131
3. Type `defang compose up` and you are good to go!
3232

3333
### Limitations
34-
1. We convert Markdown to HTML before rendering it to your screen. HTML tags within the Markdown file (for example, `<a href></a>`) will not work.
34+
1. We convert Markdown to HTML before rendering it to your screen. HTML tags within the Markdown file (for example, `<a href></a>`) will not work.
3535

3636

samples/nodejs/blogstarter/src/app/_components/footer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export function Footer() {
1616
Read Documentation
1717
</a>
1818
<a
19-
href={`https://github.com/defang-io/defang`}
19+
href={`https://github.com/DefangLabs/defang`}
2020
className="mx-3 font-bold hover:underline"
2121
>
2222
View on GitHub

0 commit comments

Comments
 (0)