Skip to content

Commit

Permalink
Move "How to test darkhttpd" to the bottom of README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Henrich Hartzer authored and emikulic committed Feb 12, 2024
1 parent 69dfe05 commit 8ceb11f
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,18 +55,6 @@ If `cc` is not on your `PATH` as an alias to your C compiler, you may need to sp
CC=gcc make
```

## How to test darkhttpd

```
make test
```

If that isn't working for you, and you're on FreeBSD, you may need to run something closer to the following:

```
ASAN_OPTIONS=" " PYTHON=python3.11 make test
```

## How to run darkhttpd

Serve /var/www/htdocs on the default port (80 if running as root, else 8080):
Expand Down Expand Up @@ -186,3 +174,15 @@ docker run -p 8080:80 -v ~/dev/mywebsite:/var/www/htdocs:ro darkhttpd
```

Enjoy.

## How to test darkhttpd

```
make test
```

If that isn't working for you, and you're on FreeBSD, you may need to run something closer to the following:

```
ASAN_OPTIONS=" " PYTHON=python3.11 make test
```

0 comments on commit 8ceb11f

Please sign in to comment.