Editing of the readme

main
Gijs 2 years ago
parent d9f8667f64
commit 67daa95769

@ -30,7 +30,9 @@ It is most likely Python isn't installed. You can [download it, and find install
### Jinja ### Jinja
```python
pip3 install jinja2 pip3 install jinja2
```
## Running the script ## Running the script
@ -38,7 +40,7 @@ Running the script should result in the folder of the script: `index.html` this
*When using the terminal*: The script can be ran by first using `cd` to move into the folder of the script. The easiest way is typing `cd` and a space and then drag and drop the folder onto the terminal. Then press enter. Once you are in the folder, type: *When using the terminal*: The script can be ran by first using `cd` to move into the folder of the script. The easiest way is typing `cd` and a space and then drag and drop the folder onto the terminal. Then press enter. Once you are in the folder, type:
``` ```bash
python3 render-template.py python3 render-template.py
``` ```
@ -49,7 +51,7 @@ Pages using paged.js *and* an external styles file need to be opened through a l
It is quite possible your editor has this functionality built in and it is perfectly fine to use that. It is quite possible your editor has this functionality built in and it is perfectly fine to use that.
Python also has a simple server built in. To start it, first `cd` into the folder of your project. Then run: Python also has a simple server built in. To start it, first `cd` into the folder of your project. Then run:
``` ```bash
python3 -m http.server python3 -m http.server
``` ```
@ -120,4 +122,4 @@ Now, add the following lines to the template to make jinja loop through the list
<li>{{ technology }}</li> <li>{{ technology }}</li>
{% endfor %} {% endfor %}
</ul> </ul>
``` ```

Loading…
Cancel
Save