Skip to content

Commit 3cdb0bb

Browse files
committed
Merge branch 'main' of github.com:DefangLabs/samples
2 parents 84d192e + 8e8cfa9 commit 3cdb0bb

File tree

33 files changed

+109
-58
lines changed

33 files changed

+109
-58
lines changed

samples/angular-express/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ This sample showcases how you could deploy a full-stack application with Angular
3131

3232
For development, we use two local containers, one for the frontend Angular service and one for the backend service in Express. It also uses Caddy as a web server for serving static files. To run the sample locally after cloning the repository, you can run on Docker by doing:
3333

34-
1. `docker compose -f compose.dev.yaml up`
34+
1. `docker compose -f compose.dev.yaml up --build`
3535

3636
---
3737

samples/bullmq-bullboard-redis/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ The `worker` service is the queue processor that will process the jobs added to
2424

2525
## Local Development
2626

27-
1. Run `docker compose -f compose.dev.yaml up`
27+
1. Run `docker compose -f compose.dev.yaml up --build`
2828

2929
---
3030

samples/csharp-dotnet/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ This sample showcases how you could deploy a full-stack application with ASP.NET
3030

3131
For development, we use two local containers, one for the frontend service and one for the backend service in ASP.NET Core. It also uses Caddy as a web server for serving static files. To run the sample locally after cloning the repository, you can run on Docker by doing:
3232

33-
`docker compose -f compose.dev.yaml up`
33+
`docker compose -f compose.dev.yaml up --build`
3434

3535
---
3636

samples/django/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ The Dockerfile and compose files are already set up for you and are ready to be
3535

3636
Title: Django
3737

38-
Short Description: A simple Django app that uses SQLite as the database
38+
Short Description: A simple Django app that uses SQLite as the database.
3939

4040
Tags: Django, SQLite, Python
4141

samples/elysia/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ A basic [Elysia](https://elysiajs.com/) app running on [Bun](https://bun.sh/) wi
1818

1919
## Local Development
2020

21-
1. Run `docker compose -f compose.dev.yaml up`
21+
1. Run `docker compose -f compose.dev.yaml up --build`
2222

2323
---
2424

samples/fastapi-postgres/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ This sample project demonstrates how to deploy FastAPI with PostgreSQL with Defa
1717

1818
## Local Development
1919

20-
1. Run `docker compose -f compose.dev.yaml up`
20+
1. Run `docker compose -f compose.dev.yaml up --build`
2121

2222
---
2323

2424
Title: FastAPI & PostgreSQL
2525

26-
Short Description: A sample project with FastAPI and PostgreSQL
26+
Short Description: A sample project with FastAPI and PostgreSQL.
2727

2828
Tags: FastAPI, PostgreSQL, Python, SQL
2929

samples/fastapi/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ This sample project demonstrates how to deploy FastAPI with Defang.
2020
To run your FastAPI app locally, you'll need to have Docker installed on your machine. You can then run:
2121

2222
```bash
23-
docker compose -f compose.yaml -f compose.dev.yaml up
23+
docker compose -f compose.yaml -f compose.dev.yaml up --build
2424
```
2525

2626
That will start your FastAPI app on `http://localhost:8000` with hot reloading enabled.
@@ -29,7 +29,7 @@ That will start your FastAPI app on `http://localhost:8000` with hot reloading e
2929

3030
Title: FastAPI
3131

32-
Short Description: A sample project demonstrating how to deploy FastAPI with Defang
32+
Short Description: A sample project demonstrating how to deploy FastAPI with Defang.
3333

3434
Tags: FastAPI, OpenAPI, Python
3535

samples/golang-http-form/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ This Go application demonstrates a simple form submission using the standard net
2727

2828
---
2929

30-
Title: Go http Form
30+
Title: Go HTTP Form
3131

3232
Short Description: A simple Go application that demonstrates form submission using the net/http library.
3333

34-
Tags: Go, http
34+
Tags: Go, HTTP
3535

3636
Languages: golang

samples/golang-http/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ A very simple example of a Go service that listens on a port and returns informa
66

77
---
88

9-
Title: Go http Server
9+
Title: Go HTTP Server
1010

1111
Short Description: A simple Go application that echoes back the request.
1212

13-
Tags: Go, http
13+
Tags: Go, HTTP
1414

1515
Languages: golang

samples/golang-mongodb-atlas/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ Environment: Designed to run in containerized environments using Docker, which e
3737

3838
Title: Go & MongoDB Atlas
3939

40-
Short Description: A simple Go application that manages tasks with MongoDB Atlas
40+
Short Description: A simple Go application that manages tasks with MongoDB Atlas.
4141

42-
Tags: Go, MongoDB, Atlas, Task manager
42+
Tags: Go, MongoDB, Atlas, Task Manager
4343

4444
Languages: golang

0 commit comments

Comments
 (0)