Skip to content

Commit f400461

Browse files
authored
Merge pull request #386 from DefangLabs/lio-github-org
rename github links
2 parents c8dba92 + ae29925 commit f400461

File tree

111 files changed

+261
-262
lines changed

Some content is hidden

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

111 files changed

+261
-262
lines changed

.github/workflows/build-samples-json.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ jobs:
1414
uses: peter-evans/repository-dispatch@v1
1515
with:
1616
token: ${{ secrets.DOCS_ACTION_TRIGGER_TOKEN }}
17-
repository: defang-io/defang-docs
17+
repository: DefangLabs/defang-docs
1818
event-type: sample-update

.github/workflows/go.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ jobs:
153153
uses: peter-evans/repository-dispatch@v1
154154
with:
155155
token: ${{ secrets.DOCS_ACTION_TRIGGER_TOKEN }}
156-
repository: defang-io/defang-docs
156+
repository: DefangLabs/defang-docs
157157
event-type: cli-autodoc
158158
client-payload: '{"version": "${{ github.ref_name }}"}'
159159

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,53 @@
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 [DefangLabs/defang tap](https://github.com/DefangLabs/homebrew-defang):
2626
```
27-
brew install defang-io/defang/defang
27+
brew install DefangLabs/defang/defang
2828
```
2929
- Using a shell script:
3030
```
3131
. <(curl -Ls https://s.defang.io/install)
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
```
44-
nix profile install github:defang-io/defang#defang-bin --refresh
44+
nix profile install github:DefangLabs/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",

pkgs/npm/src/installer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ async function downloadAppArchive(
1010
archiveFilename: string,
1111
outputPath: string
1212
): Promise<string> {
13-
const repo = "defang-io/defang";
13+
const repo = "DefangLabs/defang";
1414
const downloadUrl = `https://github.com/${repo}/releases/download/v${version}/${archiveFilename}`;
1515
const downloadTargetFile = path.join(outputPath, archiveFilename);
1616

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

0 commit comments

Comments
 (0)