]>
Git — Sourcephile - gargantext.git/blob - devops/docker-install
6 echo "git installed, ok"
8 sudo apt update
&& sudo apt
install git
13 echo "Docker installed, ok"
15 curl
-sSL https
://get.docker.com
/ | sh
16 echo "Docker has been installed"
17 echo "Configure your user rights:"
18 echo " sudo usermod -a -G docker $USER"
19 echo " or : adduser $(whoami) docker"
22 echo "---------------script docker-----------------------------"
24 ########################################################################
26 if [ -f "/usr/local/bin/docker" ]
28 echo "docker alias exists already"
30 DOCKERBIN
="/usr/local/bin/docker"
32 sudo
chmod o
+w
$DOCKERBIN
34 exec sudo -E /usr/bin/docker \"\$@\"" >> $DOCKERBIN
35 sudo
chmod gou
+x
$DOCKERBIN
36 sudo
chmod o
-w $DOCKERBIN
38 ########################################################################
40 curl
-sSL https
://get.haskellstack.org
/ | sh
45 git clone https
://gitlab.iscpif.fr
/gargantext
/haskell
-gargantext.git
48 git clone https
://gitlab.iscpif.fr
/gargantext
/purescript
-gargantext
52 git clone https
://gitlab.iscpif.fr
/gargantext
/clustering
-louvain.git
53 git clone https
://github.com
/np
/servant
-job.git
54 git clone https
://github.com
/np
/patches
-map
55 git clone https
://gitlab.com
/npouillard
/patches
-class.git
56 git clone https
://github.com
/delanoe
/haskell
-opaleye
57 git clone
-b next
--single-branch https
://github.com
/delanoe
/hsparql
63 stack
--docker install
66 # Database configuration
67 # CREATE USER gargantua WITH PASSWORD $(grep DB_PASS gargantext.ini)
68 # GRANT ALL PRIVILEGES ON DATABASE gargandbV4 to gargantua