summaryrefslogtreecommitdiff
path: root/web/tutorials/01-installation.markdown
diff options
context:
space:
mode:
Diffstat (limited to 'web/tutorials/01-installation.markdown')
-rw-r--r--web/tutorials/01-installation.markdown15
1 files changed, 12 insertions, 3 deletions
diff --git a/web/tutorials/01-installation.markdown b/web/tutorials/01-installation.markdown
index 2066886..fcf9055 100644
--- a/web/tutorials/01-installation.markdown
+++ b/web/tutorials/01-installation.markdown
@@ -26,15 +26,24 @@ Linux distro packages:
Building the example site
-------------------------
-Apart from the main Hakyll library, the cabal package also provided you with an
+Apart from the main Hakyll library, the cabal package also provides you with an
executable `hakyll-init` to create an example site. This is an easy way to get
started:
$ hakyll-init my-site
This creates a folder `my-site` in the current directory, with some example
-content and a generic configuration. If `hakyll-init` is not found, you should
-make sure `$HOME/.cabal/bin` is in your `$PATH`.
+content and a generic configuration.
+
+If `hakyll-init` is not found, you should make sure `$HOME/.cabal/bin` is in
+your `$PATH`.
+
+(If you're on OS X you may not have a bin directory in `$HOME/.cabal`. In this
+case, check `$HOME/Library/Haskell/bin` and put it on your path if you find
+`hakyll-init` there. See [here] for more information on installation paths on
+OS X.)
+
+[here]: http://www.haskell.org/haskellwiki/Mac_OS_X_Common_Installation_Paths
The file `site.hs` holds the configuration of your site, as an executable
haskell program. We can compile and run it like this: