ese-website/README.md

37 lines
1.4 KiB
Markdown
Raw Permalink Normal View History

2024-09-11 17:33:55 +02:00
# ESE Website
2024-09-11 16:55:35 +02:00
2024-10-02 15:36:42 +02:00
This is the rewrite of the ESE website in [Eleventy](https://www.11ty.dev/).
The goal is to have an accessible and more easily editable and maintainable ESE Website.
2024-09-11 17:33:55 +02:00
2024-09-30 19:37:22 +02:00
## Editing the content
All content is in the `content` directory, in the form of markdown files. There is usually no need to install/build the project in order to make changes there.
Additionally, there are some data files in `content/_data`:
2024-10-06 17:07:08 +02:00
- `ese.yaml`: the year, color etc. is configured here
2024-09-30 19:37:22 +02:00
- `program.yaml`: see [it's documentation](content/_data/program.md)
2024-10-06 17:07:08 +02:00
- `nerd101.yaml`: see [it's documentation](content/_data/nerd101.md)
2024-09-30 19:37:22 +02:00
2024-09-11 17:33:55 +02:00
## Building
2024-09-13 17:52:31 +02:00
To build the website, install the dependencies and run the build script:
```sh
git submodule update --init
2024-09-13 17:52:31 +02:00
npm install
npm run build
```
The output will be in `_site`.
You can also start a development server with auto-reloading:
```sh
npm run start
```
2024-09-11 17:33:55 +02:00
## Nix DevShell
A nix development shell that provides all required tools for developing and building the project is provided for convenience. Using it is by no means required, although we encourage it.
You can activate the devShell using `nix develop` or automatically, whenever entering/leaving this project's directory, using direnv (run `direnv allow` once).
2024-10-06 23:15:46 +02:00
## CI Pipeline
Our CI will automatically build and publish any changes on `main`. So hopefully, the barrier for making changes is reduced further :).