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