File tree 1 file changed +3
-19
lines changed
1 file changed +3
-19
lines changed Original file line number Diff line number Diff line change @@ -19,29 +19,13 @@ To build the site locally:
19
19
20
20
You could do it in release mode if you'd like, but it's pretty fast in debug.
21
21
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.
24
24
25
25
``` console
26
- > cd site
27
- > python3 -m http.server
26
+ > firefox site/index.html
28
27
```
29
28
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
-
45
29
## Contributing
46
30
47
31
First of all, thank you!
You can’t perform that action at this time.
0 commit comments