Nixify so it can be easily developed on Nix

This commit is contained in:
Javier Candeira 2019-08-31 23:59:33 +10:00
parent 4e8e92eb0e
commit 5e7c4f2f78

View File

@ -103,3 +103,11 @@ You can buid the site locally to test your changes. Follow the steps below.
these commands at `learnxinyminutes-site/`). these commands at `learnxinyminutes-site/`).
* Build - `bundle exec middleman build` * Build - `bundle exec middleman build`
* Dev server - `bundle exec middleman --force-polling --verbose` * Dev server - `bundle exec middleman --force-polling --verbose`
## Building the site locally, for Nix users
You can buid the site locally to test your changes too:
* Clone or zip download the [learnxinyminutes-site](https://github.com/adambard/learnxinyminutes-site) repo.
* Get the source in place following the instructions above
* Install all site dependencies and start a dev server by running `nix-shell` at the `learnxinyminutes-site/` root directory.