/ devops / debian / install-purescript
install-purescript
 1  #!/bin/bash
 2  
 3  git clone https://gitlab.iscpif.fr/gargantext/purescript-gargantext
 4  cd purescript-gargantext
 5  
 6  # as sudoer
 7  curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
 8  echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
 9  #sudo apt update
10  sudo apt install yarn
11  # as user
12  yarn install && yarn install-ps && yarn build
13  
14  # temporary bug (help welcome)
15  #cp src/index.html dist/index.html
16  #cd ..