]> Git — Sourcephile - gargantext.git/blob - debian-install
[ADM] debian install fix.
[gargantext.git] / debian-install
1 #!/bin/bash
2
3
4 if git --version;
5 then
6 echo "git installed, ok"
7 else
8 sudo apt update && sudo apt install git
9 fi
10
11 sudo apt update && sudo apt install liblzma-dev libpcre3-dev libblas-dev liblapack-dev pkg-config libgsl-dev libbz2-dev
12
13
14 curl -sSL https://get.haskellstack.org/ | sh
15 stack update
16 stack upgrade
17
18
19 git clone https://gitlab.iscpif.fr/gargantext/haskell-gargantext.git
20
21 cd haskell-gargantext
22 git clone https://gitlab.iscpif.fr/gargantext/purescript-gargantext
23
24 mkdir deps
25 cd deps
26 git clone https://gitlab.iscpif.fr/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
31 git clone -b next --single-branch https://github.com/delanoe/hsparql
32 cd ..
33
34 stack setup
35 stack build
36 stack 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