portfolio/README.md

30 lines
914 B
Markdown
Raw Normal View History

# Jekyll Flake Template
2023-12-13 22:32:55 +00:00
This is a template for bootstrapping a [Jekyll](https://jekyllrb.com/)-based
project (version 4.3.2) with the [lagrange](https://github.com/LeNPaul/Lagrange)
theme (version 4.0). [direnv](https://direnv.net/) can be used to launch a dev
shell upon entering this directory (refer to `.envrc`). Otherwise run via:
2023-12-13 22:32:55 +00:00
```bash
$ nix develop
```
Start the server by running:
```
$ jekyll serve [--watch]
```
2023-12-13 22:32:55 +00:00
## Building
2023-12-13 22:32:55 +00:00
Dependencies are managed using [bundix](https://github.com/nix-community/bundix).
If you make any changes to the `Gemfile`, run the following:
```bash
$ bundix -l
```
This will update the `Gemfile.lock` and `gemset.nix` files. Afterward you can
run:
2023-12-13 22:32:55 +00:00
```bash
$ nix build
2023-12-13 22:32:55 +00:00
```
Note that we need the `.bundle/config` file to workaround issues bundix has with
pre-built, platform-specific gems. Refer to
[PR #68](https://github.com/nix-community/bundix/pull/68) for more details.