Skip to content

Commit

Permalink
docs: add all needed host aliases (#153)
Browse files Browse the repository at this point in the history
  • Loading branch information
hampuslavin authored Aug 23, 2024
1 parent 63a821e commit 157a85f
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 6 deletions.
4 changes: 3 additions & 1 deletion docs/10-contribute.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,12 @@ Tests may not yet work if running on a Windows machine. Mac or Linux is recommen

Running single individual tests is useful when you are working on a specific feature. To do it, you will need to manually start the test server, then run the integration tests from the `serverpod` package.

1. Add an entry for the test server at the end of your `/etc/hosts file`.
1. Add entries for the test server, postgres and redis at the end of your `/etc/hosts file`.

```text
127.0.0.1 serverpod_test_server
127.0.0.1 postgres
127.0.0.1 redis
```
2. Start the Docker container for the test server.
Expand Down
4 changes: 3 additions & 1 deletion versioned_docs/version-1.0.0/07-contribute.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,11 @@ Tests may not yet work if running on a Windows machine. Mac is recommended for S
### Running individual tests
Running single individual tests is useful when you are working on a specific feature. To do it, you will need to manually start the test server, then run the integration tests from the `serverpod` package.

1. Add an entry for the test server at the end of your `/etc/hosts file`.
1. Add entries for the test server, postgres and redis at the end of your `/etc/hosts file`.
```
127.0.0.1 serverpod_test_server
127.0.0.1 postgres
127.0.0.1 redis
```
2. Start the Docker container for the test server.
```bash
Expand Down
4 changes: 3 additions & 1 deletion versioned_docs/version-1.1.0/08-contribute.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,11 @@ Tests may not yet work if running on a Windows machine. Mac or Linux is recommen
### Running individual tests locally
Running single individual tests is useful when you are working on a specific feature. To do it, you will need to manually start the test server, then run the integration tests from the `serverpod` package.

1. Add an entry for the test server at the end of your `/etc/hosts file`.
1. Add entries for the test server, postgres and redis at the end of your `/etc/hosts file`.
```
127.0.0.1 serverpod_test_server
127.0.0.1 postgres
127.0.0.1 redis
```
2. Start the Docker container for the test server.
```bash
Expand Down
4 changes: 3 additions & 1 deletion versioned_docs/version-1.1.1/09-contribute.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,11 @@ Tests may not yet work if running on a Windows machine. Mac or Linux is recommen
### Running individual tests
Running single individual tests is useful when you are working on a specific feature. To do it, you will need to manually start the test server, then run the integration tests from the `serverpod` package.

1. Add an entry for the test server at the end of your `/etc/hosts file`.
1. Add entries for the test server, postgres and redis at the end of your `/etc/hosts file`.
```
127.0.0.1 serverpod_test_server
127.0.0.1 postgres
127.0.0.1 redis
```
2. Start the Docker container for the test server.
```bash
Expand Down
4 changes: 3 additions & 1 deletion versioned_docs/version-1.2.0/11-contribute.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,11 @@ Tests may not yet work if running on a Windows machine. Mac or Linux is recommen
### Running individual tests
Running single individual tests is useful when you are working on a specific feature. To do it, you will need to manually start the test server, then run the integration tests from the `serverpod` package.

1. Add an entry for the test server at the end of your `/etc/hosts file`.
1. Add entries for the test server, postgres and redis at the end of your `/etc/hosts file`.
```
127.0.0.1 serverpod_test_server
127.0.0.1 postgres
127.0.0.1 redis
```
2. Start the Docker container for the test server.
```bash
Expand Down
4 changes: 3 additions & 1 deletion versioned_docs/version-2.0.0/11-contribute.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,12 @@ Tests may not yet work if running on a Windows machine. Mac or Linux is recommen

Running single individual tests is useful when you are working on a specific feature. To do it, you will need to manually start the test server, then run the integration tests from the `serverpod` package.

1. Add an entry for the test server at the end of your `/etc/hosts file`.
1. Add entries for the test server, postgres and redis at the end of your `/etc/hosts file`.

```text
127.0.0.1 serverpod_test_server
127.0.0.1 postgres
127.0.0.1 redis
```
2. Start the Docker container for the test server.
Expand Down

0 comments on commit 157a85f

Please sign in to comment.