]> Git — Sourcephile - gargantext.git/blob - install
[TSVector] added for full text queries.
[gargantext.git] / install
1 #!/bin/bash
2
3
4 if docker version;
5 then
6 echo "Docker installed, ok"
7 else
8 curl -sSL https://get.docker.com/ | sh
9 echo "Docker has been installed"
10 echo "Configure your user rights:"
11 echo " sudo usermod -a -G docker $USER"
12 fi
13
14 curl -sSL https://get.haskellstack.org/ | sh
15 stack update
16 stack upgrade
17
18 git clone ssh://git@gitlab.iscpif.fr:20022/gargantext/haskell-gargantext.git
19
20 cd haskell-gargantext
21
22 git clone ssh://git@gitlab.iscpif.fr:20022/gargantext/purescript-gargantext
23
24 mkdir deps
25 cd deps
26 git clone ssh://git@gitlab.iscpif.fr:20022/gargantext/clustering-louvain.git
27 git clone https://github.com/np/servant-job.git
28 git clone https://github.com/np/patches-map
29 git clone https://gitlab.com/npouillard/patches-class.git
30 git clone https://github.com:delanoe/haskell-opaleye.git
31 cd ..
32
33 ~/.local/bin/stack docker pull
34 ~/.local/bin/stack --docker setup
35 ~/.local/bin/stack --docker build
36 ~/.local/bin/stack --docker install
37
38
39 # Database configuration
40 # CREATE USER gargantua WITH PASSWORD $(grep DB_PASS gargantext.ini)
41 # GRANT ALL PRIVILEGES ON DATABASE gargandbV4 to gargantua