mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-11-22 21:52:31 +03:00
Nixify so it can be easily developed on Nix
This commit is contained in:
parent
4e8e92eb0e
commit
5e7c4f2f78
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user