From 5e7c4f2f78247212d9bdfafa01b39a4dd8b7f4f6 Mon Sep 17 00:00:00 2001 From: Javier Candeira Date: Sat, 31 Aug 2019 23:59:33 +1000 Subject: [PATCH] Nixify so it can be easily developed on Nix --- CONTRIBUTING.markdown | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/CONTRIBUTING.markdown b/CONTRIBUTING.markdown index 18a5a5d7..79d6838a 100644 --- a/CONTRIBUTING.markdown +++ b/CONTRIBUTING.markdown @@ -103,3 +103,11 @@ You can buid the site locally to test your changes. Follow the steps below. these commands at `learnxinyminutes-site/`). * Build - `bundle exec middleman build` * 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.