Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/01-get-started/03-working-with-the-database.md
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ First, we need to start the server and apply the migrations by adding the `--app

```bash
$ cd magic_recipe/magic_recipe_server
$ docker-compose up -d
$ docker compose up -d
$ dart bin/main.dart --apply-migrations
```

Expand Down
2 changes: 1 addition & 1 deletion docs/06-concepts/11-authentication/01-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ $ serverpod create-migration
Start your database container from the server project.

```bash
$ docker-compose up --build --detach
$ docker compose up --build --detach
```

Then apply the migration by starting the server with the `apply-migrations` flag.
Expand Down
2 changes: 1 addition & 1 deletion docs/06-concepts/19-testing/01-get-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ The location of the test tools can be changed by changing the `server_test_tool
Before the test can be run the Postgres and Redis also have to be started:

```bash
docker-compose up --build --detach
docker compose up --build --detach
```

Now the test is ready to be run:
Expand Down
4 changes: 2 additions & 2 deletions docs/08-upgrading/02-upgrade-to-one-point-two.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,8 @@ If it is not important to preserve the data that is in your database, you can si
In a Serverpod development project, the database is hosted in a docker container. To remove the existing database and start a new one run the following commands:

```bash
$ docker-compose down -v
$ docker-compose up --build --detach
$ docker compose down -v
$ docker compose up --build --detach
```

The command first removes the running container along with its volume and the second command starts a new database from scratch.
Expand Down
4 changes: 2 additions & 2 deletions docs/08-upgrading/05-upgrade-to-pgvector.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ services:
2. Recreate your containers to use the new image:

```bash
docker-compose down
docker-compose up -d
docker compose down
docker compose up -d
```

<!-- markdownlint-disable-next-line MD029-->
Expand Down
2 changes: 1 addition & 1 deletion versioned_docs/version-1.0.0/07-contribute.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Running single individual tests is useful when you are working on a specific fea
2. Start the Docker container for the test server.
```bash
cd tests/serverpod_test_server/docker_local
docker-compose up --build --detach
docker compose up --build --detach
./setup-tables
```
3. Start the test server.
Expand Down
6 changes: 3 additions & 3 deletions versioned_docs/version-1.0.0/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,11 @@ It can take up to a few minutes the first time you run `serverpod create`. This
:::

## Starting the server
Start your Docker containers with `docker-compose up --build --detach`. It will start Postgres and Redis. Then, run `dart bin/main.dart` to start your server.
Start your Docker containers with `docker compose up --build --detach`. It will start Postgres and Redis. Then, run `dart bin/main.dart` to start your server.

```bash
cd mypod/mypod_server
docker-compose up --build --detach
docker compose up --build --detach
dart bin/main.dart
```

Expand All @@ -77,6 +77,6 @@ Webserver listening on port 8082

:::info

If you need to stop the Docker containers at some point, just run `docker-compose stop` or use the Docker Desktop application. You can also use Docker Desktop to start, stop, and manage your containers.
If you need to stop the Docker containers at some point, just run `docker compose stop` or use the Docker Desktop application. You can also use Docker Desktop to start, stop, and manage your containers.

:::
2 changes: 1 addition & 1 deletion versioned_docs/version-1.1.0/08-contribute.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Running single individual tests is useful when you are working on a specific fea
2. Start the Docker container for the test server.
```bash
cd tests/serverpod_test_server/docker_local
docker-compose up --build --detach
docker compose up --build --detach
./setup-tables
```
3. Start the test server.
Expand Down
6 changes: 3 additions & 3 deletions versioned_docs/version-1.1.0/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,11 @@ It can take up to a few minutes the first time you run `serverpod create`. This
:::

## Starting the server
Start your Docker containers with `docker-compose up --build --detach`. It will start Postgres and Redis. Then, run `dart bin/main.dart` to start your server.
Start your Docker containers with `docker compose up --build --detach`. It will start Postgres and Redis. Then, run `dart bin/main.dart` to start your server.

```bash
cd mypod/mypod_server
docker-compose up --build --detach
docker compose up --build --detach
dart bin/main.dart
```

Expand All @@ -77,6 +77,6 @@ Webserver listening on port 8082

:::info

If you need to stop the Docker containers at some point, just run `docker-compose stop` or use the Docker Desktop application. You can also use Docker Desktop to start, stop, and manage your containers.
If you need to stop the Docker containers at some point, just run `docker compose stop` or use the Docker Desktop application. You can also use Docker Desktop to start, stop, and manage your containers.

:::
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ $ serverpod generate
Start your database container from the server project.

```bash
docker-compose up --build --detach
docker compose up --build --detach
```

[Copy / Download](https://github.com/serverpod/serverpod/blob/main/modules/serverpod_auth/serverpod_auth_server/generated/tables.pgsql) the table definitions for the auth module. Save them as `tables-auth.pgsql` in the `generated` folder of your server project.
Expand Down
2 changes: 1 addition & 1 deletion versioned_docs/version-1.1.1/09-contribute.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Running single individual tests is useful when you are working on a specific fea
2. Start the Docker container for the test server.
```bash
cd tests/serverpod_test_server/docker_local
docker-compose up --build --detach
docker compose up --build --detach
./setup-tables
```
3. Start the test server.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ $ serverpod create-migration
Start your database container from the server project.

```bash
$ docker-compose up --build --detach
$ docker compose up --build --detach
```

Then apply the migration by starting the server with the `apply-migrations` flag.
Expand Down
2 changes: 1 addition & 1 deletion versioned_docs/version-1.2.0/11-contribute.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Running single individual tests is useful when you are working on a specific fea
2. Start the Docker container for the test server.
```bash
$ cd tests/serverpod_test_server/docker-local
$ docker-compose up --build --detach
$ docker compose up --build --detach
$ ./setup-tables
```
3. Start the test server.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,8 @@ $ serverpod create-migration
In a Serverpod development project, the database is hosted in a docker container. To remove the existing database and start a new one run the following commands:

```bash
$ docker-compose down -v
$ docker-compose up --build --detach
$ docker compose down -v
$ docker compose up --build --detach
```

The command first removes the running container along with its volume and the second command starts a new database from scratch.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ $ serverpod create-migration
Start your database container from the server project.

```bash
$ docker-compose up --build --detach
$ docker compose up --build --detach
```

Then apply the migration by starting the server with the `apply-migrations` flag.
Expand Down
2 changes: 1 addition & 1 deletion versioned_docs/version-2.0.0/11-contribute.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Running single individual tests is useful when you are working on a specific fea

```bash
$ cd tests/serverpod_test_server/docker-local
$ docker-compose up --build --detach
$ docker compose up --build --detach
$ ./setup-tables
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,8 @@ If it is not important to preserve the data that is in your database, you can si
In a Serverpod development project, the database is hosted in a docker container. To remove the existing database and start a new one run the following commands:

```bash
$ docker-compose down -v
$ docker-compose up --build --detach
$ docker compose down -v
$ docker compose up --build --detach
```

The command first removes the running container along with its volume and the second command starts a new database from scratch.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ $ serverpod create-migration
Start your database container from the server project.

```bash
$ docker-compose up --build --detach
$ docker compose up --build --detach
```

Then apply the migration by starting the server with the `apply-migrations` flag.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,8 @@ If it is not important to preserve the data that is in your database, you can si
In a Serverpod development project, the database is hosted in a docker container. To remove the existing database and start a new one run the following commands:

```bash
$ docker-compose down -v
$ docker-compose up --build --detach
$ docker compose down -v
$ docker compose up --build --detach
```

The command first removes the running container along with its volume and the second command starts a new database from scratch.
Expand Down
2 changes: 1 addition & 1 deletion versioned_docs/version-2.1.0/10-contribute.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Running single individual tests is useful when you are working on a specific fea

```bash
$ cd tests/serverpod_test_server/docker-local
$ docker-compose up --build --detach
$ docker compose up --build --detach
$ ./setup-tables
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ $ serverpod create-migration
Start your database container from the server project.

```bash
$ docker-compose up --build --detach
$ docker compose up --build --detach
```

Then apply the migration by starting the server with the `apply-migrations` flag.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ The location of the test tools can be changed by changing the `server_test_tool
Before the test can be run the Postgres and Redis also have to be started:

```bash
docker-compose up --build --detach
docker compose up --build --detach
```

By default this starts up both the `development` and `test` profiles. To only start one profile, simply add `--profile test` to the command.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,8 @@ If it is not important to preserve the data that is in your database, you can si
In a Serverpod development project, the database is hosted in a docker container. To remove the existing database and start a new one run the following commands:

```bash
$ docker-compose down -v
$ docker-compose up --build --detach
$ docker compose down -v
$ docker compose up --build --detach
```

The command first removes the running container along with its volume and the second command starts a new database from scratch.
Expand Down
2 changes: 1 addition & 1 deletion versioned_docs/version-2.2.0/10-contribute.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Running single individual tests is useful when you are working on a specific fea

```bash
$ cd tests/serverpod_test_server/docker-local
$ docker-compose up --build --detach
$ docker compose up --build --detach
$ ./setup-tables
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ $ serverpod create-migration
Start your database container from the server project.

```bash
$ docker-compose up --build --detach
$ docker compose up --build --detach
```

Then apply the migration by starting the server with the `apply-migrations` flag.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ The location of the test tools can be changed by changing the `server_test_tool
Before the test can be run the Postgres and Redis also have to be started:

```bash
docker-compose up --build --detach
docker compose up --build --detach
```

By default this starts up both the `development` and `test` profiles. To only start one profile, simply add `--profile test` to the command.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,8 @@ If it is not important to preserve the data that is in your database, you can si
In a Serverpod development project, the database is hosted in a docker container. To remove the existing database and start a new one run the following commands:

```bash
$ docker-compose down -v
$ docker-compose up --build --detach
$ docker compose down -v
$ docker compose up --build --detach
```

The command first removes the running container along with its volume and the second command starts a new database from scratch.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ $ serverpod create-migration
Start your database container from the server project.

```bash
$ docker-compose up --build --detach
$ docker compose up --build --detach
```

Then apply the migration by starting the server with the `apply-migrations` flag.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ The location of the test tools can be changed by changing the `server_test_tool
Before the test can be run the Postgres and Redis also have to be started:

```bash
docker-compose up --build --detach
docker compose up --build --detach
```
Now the test is ready to be run:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,8 @@ If it is not important to preserve the data that is in your database, you can si
In a Serverpod development project, the database is hosted in a docker container. To remove the existing database and start a new one run the following commands:

```bash
$ docker-compose down -v
$ docker-compose up --build --detach
$ docker compose down -v
$ docker compose up --build --detach
```

The command first removes the running container along with its volume and the second command starts a new database from scratch.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ $ serverpod create-migration
Start your database container from the server project.

```bash
$ docker-compose up --build --detach
$ docker compose up --build --detach
```

Then apply the migration by starting the server with the `apply-migrations` flag.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ The location of the test tools can be changed by changing the `server_test_tool
Before the test can be run the Postgres and Redis also have to be started:

```bash
docker-compose up --build --detach
docker compose up --build --detach
```
Now the test is ready to be run:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,8 @@ If it is not important to preserve the data that is in your database, you can si
In a Serverpod development project, the database is hosted in a docker container. To remove the existing database and start a new one run the following commands:

```bash
$ docker-compose down -v
$ docker-compose up --build --detach
$ docker compose down -v
$ docker compose up --build --detach
```

The command first removes the running container along with its volume and the second command starts a new database from scratch.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ $ serverpod create-migration
Start your database container from the server project.

```bash
$ docker-compose up --build --detach
$ docker compose up --build --detach
```

Then apply the migration by starting the server with the `apply-migrations` flag.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ The location of the test tools can be changed by changing the `server_test_tool
Before the test can be run the Postgres and Redis also have to be started:

```bash
docker-compose up --build --detach
docker compose up --build --detach
```
Now the test is ready to be run:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,8 @@ If it is not important to preserve the data that is in your database, you can si
In a Serverpod development project, the database is hosted in a docker container. To remove the existing database and start a new one run the following commands:

```bash
$ docker-compose down -v
$ docker-compose up --build --detach
$ docker compose down -v
$ docker compose up --build --detach
```

The command first removes the running container along with its volume and the second command starts a new database from scratch.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ First, we need to start the server and apply the migrations by adding the `--app

```bash
$ cd magic_recipe/magic_recipe_server
$ docker-compose up -d
$ docker compose up -d
$ dart bin/main.dart --apply-migrations
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ $ serverpod create-migration
Start your database container from the server project.

```bash
$ docker-compose up --build --detach
$ docker compose up --build --detach
```

Then apply the migration by starting the server with the `apply-migrations` flag.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ The location of the test tools can be changed by changing the `server_test_tool
Before the test can be run the Postgres and Redis also have to be started:

```bash
docker-compose up --build --detach
docker compose up --build --detach
```
Now the test is ready to be run:

Expand Down
Loading