From 7919a2c90b348adc67001772b343db6cce818a54 Mon Sep 17 00:00:00 2001 From: Carlos D'Agostino Date: Sun, 1 Dec 2019 13:01:20 +1100 Subject: [PATCH] Update installation instructions Update instructions to work as per issue noted in https://github.com/ocaml/opam/issues/3815 --- docs/sphinx/src/installation/index.rst | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/docs/sphinx/src/installation/index.rst b/docs/sphinx/src/installation/index.rst index d135eb26..71ad06db 100644 --- a/docs/sphinx/src/installation/index.rst +++ b/docs/sphinx/src/installation/index.rst @@ -9,23 +9,24 @@ To install Liquidity from sources, you will need a working installation of OCaml with `OPAM `__ at least version 2.0. -As of Oct 4, 2019, the following process should work: +As of Dec 1, 2019, the following process should work: 1. Create an OPAM switch called ``liquidity``, with version 4.06.1 of OCaml:: - - opam switch create liquidity 4.06.1 + + opam switch create liquidity --empty + opam install --switch=liquidity ocaml.4.06.1 This command should take some time to compile the OCaml distribution. Everytime you want to use this switch in a terminal, you should use the following command:: eval `opam env --switch liquidity` - + 2. Checkout the Github repository:: - + git clone https://github.com/OCamlPro/liquidity cd liquidity - + This command should create a ``liquidity`` directory with the ``next`` branch. 3. Within the ``liquidity`` directory, the Dune Network sources in branch