]> Git — Sourcephile - gargantext.git/blob - install
[FIX] install script, please test me.
[gargantext.git] / install
1 #!/bin/bash
2
3 if docker version;
4 then
5 echo "Docker installed, ok"
6 else
7 curl -sSL https://get.docker.com/ | sh
8 fi
9
10 curl -sSL https://get.haskellstack.org/ | sh
11 stack update
12 stack upgrade
13
14 git clone ssh://git@gitlab.iscpif.fr:20022/gargantext/haskell-gargantext.git
15
16 cd haskell-gargantext
17
18 git clone ssh://git@gitlab.iscpif.fr:20022/gargantext/purescript-gargantext
19
20 mkdir deps
21 cd deps
22 git clone ssh://git@gitlab.iscpif.fr:20022/gargantext/clustering-louvain.git
23 git clone https://github.com/np/servant-job.git
24 git clone https://github.com/np/patches-map
25 git clone https://gitlab.com/npouillard/patches-class.git
26 cd ..
27
28 ~/.local/bin/stack docker pull
29 ~/.local/bin/stack --docker setup
30 ~/.local/bin/stack --docker build
31 ~/.local/bin/stack --docker install
32