[Readme] update

This commit is contained in:
coja 2025-05-31 22:49:23 +02:00
parent dea94db721
commit 67cde4c4ae
2 changed files with 10 additions and 4 deletions

View File

@ -6,7 +6,7 @@ Redisign of dmz.rs .
Run Run
``` ```sh
python atom_gen.py python atom_gen.py
python prep.py python prep.py
python build_pages.py python build_pages.py
@ -18,24 +18,26 @@ Complete website will be contained in `site/`. You can copy this to server.
To start a development server, first build site, then run (possibly with `sudo`) To start a development server, first build site, then run (possibly with `sudo`)
``` ```sh
nginx -p . -c nginx.dev.conf nginx -p . -c nginx.dev.conf
``` ```
To stop it: To stop it:
``` ```sh
nginx -p . -s stop nginx -p . -s stop
``` ```
## Events ## Events
To update events, update the `events.csv` then run commands To update events, update the `events.csv` then run commands
```
```sh
python build_pages.py # builds html out of csv python build_pages.py # builds html out of csv
python image_poster.py # generates images for events python image_poster.py # generates images for events
``` ```
## TODO: ## TODO:
- [x] create page builder - [x] create page builder

4
requirements.txt Normal file
View File

@ -0,0 +1,4 @@
cairosvg
markdown
freetype-py
python-dateutil