Run ReLTER in a Docker container
docker image for ReLTER package (https://github.com/ropensci/ReLTER)
Edit the addReLTER.sh script and modify the last line, using the name of your preferred branch as the ref= parameter value:
R -e "devtools::install_github('https://github.com/ropensci/ReLTER',ref = '<branchName>',dependencies = FALSE)"
Run locally on port 8080 (change port as you like). You can change “yourpasswordW with the password you prefer.
docker run -d -e PASSWORD=yourpassword -p 8080:8787 rocker_relter
Open browser at localhost:8080 and login with
user: rstudio password: youpassword
When you stop a docker container, the files created within it are lost. In order to preserve your work across different runs, link a local volume (in this example, the current working directory, $(pwd)) to the container:
docker run -d -v $(pwd):/home/rstudio -e PASSWORD=yourpassword -p 8080:8787 rocker_relter