]> Git — Sourcephile - gargantext.git/blob - install
[FIX] script install.
[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
13 git clone ssh://git@gitlab.iscpif.fr:20022/gargantext/haskell-gargantext.git
14
15 cd haskell-gargantext
16
17 git clone ssh://git@gitlab.iscpif.fr:20022/gargantext/purescript-gargantext
18
19 mkdir deps
20 cd deps
21 git clone ssh://git@gitlab.iscpif.fr:20022/gargantext/clustering-louvain.git
22 git clone https://github.com/np/servant-job.git
23 git clone https://github.com/np/patches-map
24 git clone https://gitlab.com/npouillard/patches-class.git
25 cd ..
26
27 stack docker pull
28 stack --docker setup
29 stack --docker build
30 stack --docker install
31