update readme, markdown lint

This commit is contained in:
Vinzenz Schroeter 2025-06-07 15:35:43 +02:00
parent 6aadea1155
commit 981108e77a
3 changed files with 14 additions and 11 deletions

View file

@ -19,15 +19,13 @@ This is the website of the CCCB.
cd cccb-website cd cccb-website
``` ```
### Run site locally 4. Run hugo webserver
Run hugo webserver: ```shell
hugo serve
```
```shell 5. Point your browser to: <http://localhost:1313/>
hugo serve
```
Point your browser to: <http://localhost:1313/>
To ready your site for upload, run `./build.sh`, which also generates `all.ics` To ready your site for upload, run `./build.sh`, which also generates `all.ics`
and adds the calendar table to `index.html`. and adds the calendar table to `index.html`.
@ -46,6 +44,13 @@ as long as `hugo serve` is running.
- If successfull, check [Website](https://berlin.ccc.de/) if change is correct. - If successfull, check [Website](https://berlin.ccc.de/) if change is correct.
7. Profit! 7. Profit!
## Nix stuff
- After entering the shell with `nix develop`, hugo is available and `hugo serve` should work
- Python including required packages will be available, so the `build.sh` should work without a venv
- You can build the staging and production builds with `nix build .#staging-content` and `nix build .#production-content`
- Do not update the nixpkgs branch - 25.05 contains a newer hugo version that is incompatible with the theme (last checked June 2025)
--- ---
Made with ❤️ and [Hugo](https://gohugo.io). Made with ❤️ and [Hugo](https://gohugo.io).

View file

@ -3,9 +3,7 @@
- DSGVO-compliant Datenschutzerklärung reinbasteln - DSGVO-compliant Datenschutzerklärung reinbasteln
- Entscheiden, welche Seiten sonst noch konvertiert werden sollen und welche in die ewigen Datengründe gehen können - Entscheiden, welche Seiten sonst noch konvertiert werden sollen und welche in die ewigen Datengründe gehen können
## Done
# Done
- Template aussuchen - Template aussuchen
- Rausfinden, wie man eine Seite konvertiert - Rausfinden, wie man eine Seite konvertiert

View file

@ -23,7 +23,7 @@ description: "Startseite CCCB mit Kurzkalender"
--> -->
### Nächste Veranstaltungen: ### Nächste Veranstaltungen
CALENDAR CALENDAR