Skip to content

Commit ea8797c

Browse files
committed
Remove local web server from readme.
Since all urls are now relative, you can just open site/index.html directly without having to spawn a web server.
1 parent 83c32b0 commit ea8797c

File tree

1 file changed

+3
-19
lines changed

1 file changed

+3
-19
lines changed

README.md

+3-19
Original file line numberDiff line numberDiff line change
@@ -19,29 +19,13 @@ To build the site locally:
1919

2020
You could do it in release mode if you'd like, but it's pretty fast in debug.
2121

22-
From there, the generated HTML will be in a `site` directory. You can use
23-
any web server to check it out in your browser:
22+
From there, the generated HTML will be in a `site` directory.
23+
Open `site/index.html` in your web browser to view the site.
2424

2525
```console
26-
> cd site
27-
> python3 -m http.server
26+
> firefox site/index.html
2827
```
2928

30-
The site is now available at <http://0.0.0.0:8000>.
31-
32-
If you need to preview the site from another machine, pass the host's address via `--bind`. For example, if running on 192.168.72.73:
33-
34-
```console
35-
> cd site
36-
> python3 -m http.server --bind 192.168.72.73
37-
```
38-
39-
The site is now available at <http://192.168.72.73:8000>.
40-
41-
(As a short-cut: If you pass `--bind 0.0.0.0`, the server will be reachable at [all of the host's IP addresses][].)
42-
43-
[all of the host's IP addresses]: https://www.howtogeek.com/225487/what-is-the-difference-between-127.0.0.1-and-0.0.0.0/
44-
4529
## Contributing
4630

4731
First of all, thank you!

0 commit comments

Comments
 (0)