Skip to content

Commit c7a3cd3

Browse files
Document /etc/hosts file additions for testing
1 parent 4347562 commit c7a3cd3

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

‎README.md‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,20 @@ Accessing most Solid apps (such as Warp) will prompt you to select your browser
137137
side certificate which contains a WebID from a Solid storage provider (see
138138
the [pre-requisites](#pre-requisites) discussion above).
139139

140+
#### Editing your local `/etc/hosts`
141+
142+
To test certificates and account creation on subdomains, `ldnode`'s test suite
143+
uses the following localhost domains: `nic.localhost`, `tim.localhost`, and
144+
`nicola.localhost`. You will need to create host file entries for these, in
145+
order for the tests to pass.
146+
147+
Edit your `/etc/hosts` file, and append:
148+
149+
```
150+
# Used for unit testing ldnode
151+
127.0.0.1 nic.localhost, tim.localhost, nicola.localhost
152+
```
153+
140154
#### Running the Unit Tests
141155

142156
```bash

0 commit comments

Comments
 (0)