From 2c16dded6e84cf83f40dfa0c6a09566143800a31 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Thu, 23 Jul 2015 07:05:28 -0700 Subject: [PATCH] docs: simplify download page --- doc/site/download.md | 120 ++++++++++++++++++++++++------------------- 1 file changed, 66 insertions(+), 54 deletions(-) diff --git a/doc/site/download.md b/doc/site/download.md index ca7c36441..f9b740e14 100644 --- a/doc/site/download.md +++ b/doc/site/download.md @@ -8,23 +8,67 @@ ## I want to download and run - - - - - - - - - - - -
-**I'm on Debian or Ubuntu**\ + + + + + + + + + -**I'm on Gentoo**\ + -**I'm on Red Hat/Fedora/CentOS**\ + -**I'm on NixOS**\ + + + + +
+**on Windows** + + +Download, unzip, and run +[hledger-0.26-win64.zip](http://hledger.org/downloads/hledger-0.26-win64.zip) + +and +[hledger-web-0.26-win64.zip](http://hledger.org/downloads/hledger-web-0.26-win64.zip) +
+**on Mac** + + + + +Use stack or cabal (see below) +
+**on Debian or Ubuntu** + `apt-get install hledger hledger-web` +
+**on Gentoo** + `emerge hledger hledger-web` +
+**on Red Hat, Fedora or CentOS** + `yum install hledger hledger-web` +
+**on NixOS** + `nix-env -iA nixpkgs.haskellPackages.hledger nixpkgs.haskellPackages.hledgerWeb` +
+**in a Virtualbox VM** + +Try +
-
- - - - **I'm on Windows**\ - - Download, unzip, and run:\ - [hledger-0.26-win64.zip](http://hledger.org/downloads/hledger-0.26-win64.zip) - (or the [32-bit build](http://hledger.org/downloads/hledger-0.26-win32.zip))\ - [hledger-web-0.26-win64.zip](http://hledger.org/downloads/hledger-web-0.26-win64.zip) - - - **I'm on Mac**\ - - - - Use stack or cabal (see below) - -
- - - +## I want to build the latest release -## I want to build the [latest release](http://hackage.haskell.org/package/hledger) +**[Release notes](release-notes.html)** Recommended: -1. Download and install [stack](https://github.com/commercialhaskell/stack/wiki/Downloads) (on windows, choose the 64-bit version if you will be processing [large data](https://github.com/simonmichael/hledger/issues/275)) +1. Download and install [stack](https://github.com/commercialhaskell/stack/wiki/Downloads) (on windows, choose the 64-bit version if you will be processing [>50k transactions](https://github.com/simonmichael/hledger/issues/275)) 2. `stack --resolver nightly-2015-07-13 setup` - (if you need GHC, eg on windows. If you're not sure, run the next command and it will tell you) + (do this if you need GHC, eg on windows. If you're not sure, run the next command and it will tell you) 3. `stack --resolver nightly-2015-07-13 install hledger` @@ -93,15 +107,13 @@ Or: 4. `cabal sandbox init` 5. `cabal install hledger[-web]` -The old [Installation Guide](installing.html) has more notes on this process. -[Release Notes](release-notes.html) shows what's new in the hledger packages. +## I want to build the [latest master branch](https://github.com/simonmichael/hledger/commits/master) -## I want to build the [latest development version](https://github.com/simonmichael/hledger/commits/master) - -1. `git clone https://github.com/simonmichael/hledger.git` +1. `git clone https://github.com/simonmichael/hledger.git` (shortcut: `git clone code.hledger.org hledger`) 2. `cd hledger` -3. `stack install` (or cabal install as shown above) +3. `stack install` (or `cabal sandbox init; cabal install ./hledger{-lib,,-web}`) -## I want to run the Ubuntu hledger packages in a virtual machine +\ +\ +See also the old [Installation Guide](installing.html). -Try .