You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+46-27Lines changed: 46 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -181,33 +181,52 @@ you intend to build the website or email newsletter.
181
181
182
182
### Building the website
183
183
184
-
*Before attempting to build the website, ensure Docker is in a running state on your system.*
185
-
186
-
* Enter the `publishing/` directory:
187
-
```sh
188
-
cd publishing
189
-
```
190
-
* Run the Docker build and website local-host command:
191
-
```sh
192
-
make build && make generate-website && make host-content
193
-
```
194
-
* View the website locally at default http://localhost:8000, or specific posts
195
-
at http://localhost:8000/blog/{YEAR}/{MONTH}/{DAY}/{ISSUE}/
196
-
197
-
Note: If looking to test the website's search functionality locally, you will need to adjust the [`TESTING_LOCALLY`](https://github.com/rust-lang/this-week-in-rust/blob/dc127f17fcabbf0f058eb3d5a3febba434ddca83/pelicanconf.py#L7)
198
-
variable to `True`.
184
+
> [!IMPORTANT]
185
+
>
186
+
> Before attempting to build the website, ensure Docker is in a running state on
187
+
> your system.
188
+
189
+
- Enter the `publishing/` directory:
190
+
191
+
```sh
192
+
cd publishing
193
+
```
194
+
195
+
- Run the Docker build and website local-host command:
196
+
197
+
```sh
198
+
make website
199
+
```
200
+
201
+
- View the website locally at default
202
+
[http://localhost:8000](http://localhost:8000), or specific posts at
0 commit comments