Commit 7bfa864e authored by Alexandre Delanoë's avatar Alexandre Delanoë

[Install] Script install update (docker by default).

parent d6d14824
#!/bin/bash #!/bin/bash
# On Debian: if docker version; then
# sudo apt-get update && sudo apt-get install libpcre3-dev libbz2-dev :
else
curl -sSL https://get.docker.com/ | sh
fi
curl -sSL https://get.haskellstack.org/ | sh curl -sSL https://get.haskellstack.org/ | sh
stack update stack update
...@@ -16,9 +19,12 @@ mkdir deps ...@@ -16,9 +19,12 @@ mkdir deps
cd deps cd deps
git clone ssh://git@gitlab.iscpif.fr:20022/gargantext/clustering-louvain.git git clone ssh://git@gitlab.iscpif.fr:20022/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://gitlab.com/npouillard/patches-class.git
cd .. cd ..
stack setup stack docker pull
stack build stack --docker setup
stack install stack --docker build
stack --docker install
#!/bin/bash
if docker version; then
:
else
curl -sSL https://get.docker.com/ | sh
fi
curl -sSL https://get.haskellstack.org/ | sh
stack update
git clone ssh://git@gitlab.iscpif.fr:20022/gargantext/haskell-gargantext.git
cd haskell-gargantext
git clone ssh://git@gitlab.iscpif.fr:20022/gargantext/purescript-gargantext
mkdir deps
cd deps
git clone ssh://git@gitlab.iscpif.fr:20022/gargantext/clustering-louvain.git
git clone https://github.com/np/servant-job.git
cd ..
stack docker pull
stack --docker setup
stack --docker build
stack --docker install
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment