Joshua Potter 457bfd6c52 | ||
---|---|---|
.bundle | ||
_data | ||
_includes | ||
_layouts | ||
_plugins | ||
_posts | ||
_tabs | ||
assets | ||
.envrc | ||
.gitignore | ||
.gitmodules | ||
.ignore | ||
Gemfile | ||
Gemfile.lock | ||
README.md | ||
_config.yml | ||
devlog.html | ||
flake.lock | ||
flake.nix | ||
gemset.nix | ||
index.html |
README.md
Blog
This is my personal blog, powered by Jekyll and themed with Chirpy.
Quickstart
If you have nix installed, you can use direnv to launch a
dev shell upon entering this directory (refer to .envrc
). Otherwise run via:
$ nix develop
If you do not have nix installed, first install rvm:
$ curl -sSL https://get.rvm.io | bash
$ type rvm | head -1
rvm is a function
Afterward, run the following sequence of commands:
$ rvm install 3.2.2
$ rvm use 3.2.2
$ bundle install
You can now launch the site locally:
jekyll serve --watch
Building
Dependencies are managed using bundix.
If you make any changes to the Gemfile
, run the following:
$ bundix -l
This will update the Gemfile.lock
and gemset.nix
files. Afterward you can
run:
$ nix build
Note that we need the .bundle/config
file to workaround issues bundix has with
pre-built, platform-specific gems. Refer to
PR #68 for more details.