File tree Expand file tree Collapse file tree 3 files changed +22
-4
lines changed Expand file tree Collapse file tree 3 files changed +22
-4
lines changed Original file line number Diff line number Diff line change
1
+ @ echo off
2
+
3
+ python -m http.server -b 127.0.0.1 --directory web/output/html
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ python -m http.server -b 127.0.0.1 --directory web/output/html
Original file line number Diff line number Diff line change @@ -26,12 +26,24 @@ pip install -r requirements.txt
26
26
27
27
### Usage
28
28
29
- The ` wikigen.py ` script is intended to be executed from the root of the repository.
29
+ Depending on your operating system, you can run the following commands:
30
30
31
- To build the repository, run ` tools/build_web.sh ` or ` tools/build_web.cmd ` depending on your operating system.
31
+ #### Linux
32
32
33
- To serve the repository locally, run the following command:
33
+ ``` bash
34
+ # Build the wiki website
35
+ ./tools/build_web.sh
36
+
37
+ # Serve the website locally
38
+ ./tools/serve_web.sh
39
+ ```
40
+
41
+ #### Windows
34
42
35
43
``` bash
36
- python -m http.server -b 127.0.0.1 --directory web/output/html
44
+ # Build the wiki website
45
+ ./tools/build_web.cmd
46
+
47
+ # Serve the website locally
48
+ ./tools/serve_web.cmd
37
49
```
You can’t perform that action at this time.
0 commit comments