Pārlūkot izejas kodu

Added an initialization script

master
Maxime Wack pirms 6 gadiem
vecāks
revīzija
e09c8d80e8
1 mainītis faili ar 29 papildinājumiem un 0 dzēšanām
  1. +29
    -0
      prepare.sh

+ 29
- 0
prepare.sh Parādīt failu

@@ -0,0 +1,29 @@
#!/bin/sh

echo "Installing the EPEL repo"

yum install epel-release

echo "Updating system and packages list"

yum upgrade

yum update

echo "Installing system dependancies"

yum install man sudo R git libcurl libcurl-devel libxml2 libxml2-devel openssl openssl-devel postgresql postgresql91 postgresql-devel postgresql91-devel libcurl libcurl-devel

echo "Installing R dependancies"

echo "If this step fails, you might need to configure a proxy ? (http_proxy environment var)"

R -e 'install.packages(c("tidyverse", "devtools"), repos = "https://cran.r-project.org")'

echo "Installing R2b2 using devtools"

echo "If this step fails, you might need to configure a proxy"

echo "Alternatively, you can download a local copy and use devtools::install_local to install from file"

R -e 'devtools::install_github("MaximeWack/R2b2")'

Notiek ielāde…
Atcelt
Saglabāt