summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJavier Candeira <javier@candeira.com>2019-08-31 23:59:33 +1000
committerJavier Candeira <javier@candeira.com>2019-08-31 23:59:33 +1000
commit5e7c4f2f78247212d9bdfafa01b39a4dd8b7f4f6 (patch)
tree27fd58dd898fa1ffa06ccdee8616efea02fe8bbd
parent4e8e92eb0eea94c87575776c2a0f3cea04296f6d (diff)
Nixify so it can be easily developed on Nix
-rw-r--r--CONTRIBUTING.markdown8
1 files changed, 8 insertions, 0 deletions
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.