Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
haskell-gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
153
Issues
153
List
Board
Labels
Milestones
Merge Requests
12
Merge Requests
12
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gargantext
haskell-gargantext
Commits
3b8bdb1c
Commit
3b8bdb1c
authored
Dec 12, 2018
by
Alexandre Delanoë
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[INSTALL] tested on Debian 9.4 and Ubuntu 16.4.
parent
57fefab6
Pipeline
#59
failed with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
4 deletions
+26
-4
install
install
+26
-4
No files found.
install
View file @
3b8bdb1c
#!/bin/bash
#!/bin/bash
if
git
--version
;
then
echo
"git installed, ok"
else
sudo
apt update
&&
sudo
apt
install
git
fi
if
docker
--version
;
if
docker
--version
;
then
then
echo
"Docker installed, ok"
echo
"Docker installed, ok"
...
@@ -12,18 +19,32 @@ else
...
@@ -12,18 +19,32 @@ else
echo
" or : adduser
$(
whoami
)
docker"
echo
" or : adduser
$(
whoami
)
docker"
fi
fi
sudo echo
"#!/bin/sh
echo
"---------------script docker-----------------------------"
exec sudo -E /usr/bin/docker
\"\$
@
\"
"
>
/usr/local/bin/docker
sudo chmod
+x /usr/local/bin/docker
########################################################################
# Docker path conf
if
[
-f
"/usr/local/bin/docker"
]
then
echo
"docker alias exists already"
else
DOCKERBIN
=
"/usr/local/bin/docker"
sudo touch
$DOCKERBIN
sudo chmod
o+w
$DOCKERBIN
sudo echo
"#!/bin/sh
exec sudo -E /usr/bin/docker
\"\$
@
\"
"
>>
$DOCKERBIN
sudo chmod
gou+x
$DOCKERBIN
sudo chmod
o-w
$DOCKERBIN
fi
########################################################################
curl
-sSL
https://get.haskellstack.org/ | sh
curl
-sSL
https://get.haskellstack.org/ | sh
stack update
stack update
stack upgrade
stack upgrade
git clone https://gitlab.iscpif.fr/gargantext/haskell-gargantext.git
git clone https://gitlab.iscpif.fr/gargantext/haskell-gargantext.git
cd
haskell-gargantext
cd
haskell-gargantext
git clone https://gitlab.iscpif.fr/gargantext/purescript-gargantext
git clone https://gitlab.iscpif.fr/gargantext/purescript-gargantext
mkdir
deps
mkdir
deps
...
@@ -32,6 +53,7 @@ git clone https://gitlab.iscpif.fr/gargantext/clustering-louvain.git
...
@@ -32,6 +53,7 @@ git clone https://gitlab.iscpif.fr/gargantext/clustering-louvain.git
git clone https://github.com/np/servant-job.git
git clone https://github.com/np/servant-job.git
git clone https://github.com/np/patches-map
git clone https://github.com/np/patches-map
git clone https://gitlab.com/npouillard/patches-class.git
git clone https://gitlab.com/npouillard/patches-class.git
git clone https://github.com/delanoe/haskell-opaleye
cd
..
cd
..
stack docker pull
stack docker pull
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment