]> Git — Sourcephile - gargantext.git/blob - install-via-docker
[FIX] types for cooc function before refactoring.
[gargantext.git] / install-via-docker
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 cd ..
23
24 stack docker pull
25 stack --docker setup
26 stack --docker build
27 stack --docker install
28