clan-homepage/README.md

41 lines
865 B
Markdown
Raw Normal View History

2023-07-05 11:15:53 +00:00
# Getting start with the repo
This is the source for the homepage.
We use [zola](https://www.getzola.org/) for building a static website.
## Build the homepage
This will build the website including pages defined in the clan-core repo under `/docs`:
```command
$ nix build
2023-07-05 11:15:53 +00:00
```
## Start a local webserver
This server will include all the pages from clan-core, but doesn't automatically refresh. Also make sure to wipe your browsers cache after each change.
```command
$ nix run .#serve
2023-07-05 11:15:53 +00:00
```
## zola build & serve
Alternatively `zola build` and `zola serve` can be used for development but the result will be missing the pages defined in the clan-core repo.
2023-07-11 12:13:13 +00:00
## Contributing
Send changes to https://git.clan.lol/clan/clan-homepage
2023-07-17 21:23:37 +00:00
## To update the website
```
$ nix run .#deploy
```
2023-09-21 10:51:19 +00:00
## Create a new post
```
$ nix run .#new-post "September Changelog"
```