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
+15-11Lines changed: 15 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,21 +25,25 @@ less efficient than a partial page update on the client side.
25
25
26
26
### Install development dependencies in a VSCode Dev Container
27
27
28
-
If you use VSCode with Docker, the following VSCode Dev Container configuration will install all dependencies and automatically open the project in a container:
28
+
If you use VSCode with Docker, the following VSCode Dev Container
29
+
configuration will install all dependencies and automatically open the
Simply create a .devcontainer folder in the root of the project and add a devcontainer.json file with this content, and then "Reopen in Container" from View > Command Palette.
44
+
Simply create a .devcontainer folder in the root of the project and add
45
+
a devcontainer.json file with this content, and then “Reopen in
The advantage of the PRG pattern is that it is very straightforward to implement and keeps most of the rendering logic on the server side. The disadvantage is that it requires an extra round trip to the database to fetch the updated data, and re-rendering the entire page template may be less efficient than a partial page update on the client side.
52
52
53
-
### Install development dependencies
53
+
### Install development dependencies in a VSCode Dev Container
54
+
55
+
If you use VSCode with Docker, the following VSCode Dev Container configuration will install all dependencies and automatically open the project in a container:
Simply create a .devcontainer folder in the root of the project and add a devcontainer.json file with this content, and then "Reopen in Container" from View > Command Palette.
70
+
71
+
### Install development dependencies manually
54
72
55
-
#### Python, Docker, and Quarto CLI
73
+
#### Pythonand Docker
56
74
57
75
-[Python 3.12 or higher](https://www.python.org/downloads/)
58
76
-[Docker and Docker Compose](https://docs.docker.com/get-docker/)
- Download and install from [Graphviz.org](https://graphviz.org/download/#windows)
79
116
80
117
#### Python dependencies
81
118
82
-
1. Install Poetry
119
+
1.Install Poetry
83
120
84
-
```bash
121
+
```bash
85
122
pipx install poetry
86
123
```
87
124
88
-
2. Install project dependencies
125
+
2.Install project dependencies
89
126
90
-
```bash
127
+
```bash
91
128
poetry install
92
129
```
93
130
94
-
3. Activate shell
131
+
3.Activate shell
95
132
96
-
```bash
133
+
```bash
97
134
poetry shell
98
135
```
99
136
@@ -127,7 +164,11 @@ Navigate to http://localhost:8000/
127
164
128
165
### Render the README
129
166
130
-
`quarto render README.qmd`
167
+
When updating the documentation, remember to make changes in the README.qmd file, not the README.md file. Then run the following command to render the README.md file:
0 commit comments