Giter VIP home page Giter VIP logo

eplusr-docker's Introduction

eplusr-docker

Dockerfiles for working with EnergyPlus and R

license Project Status: Active โ€“ The project has reached a stable, usable state and is being actively developed.

Overview

rocker

image description metrics
eplusr R with eplusr installed & EnergyPlus specified installed

This repository provides Dockerfiles for working with EnergyPlus in R via eplusr package, based on rocker/rstudio:4.1.0 and rocker/verse:4.1.0 container.

Supported EnergyPlus versions

All releasees starting from v8.3.0 are supported. Users can include the version tag of EnergyPlus, e.g. hongyuanjia/eplusr:9.1.0, or use the default latest tag, e.g. hongyuanjia/eplusr for the most up-to-date EnergyPlus.

The default upstream container is rocker/rstudio:4.1.0. But you can add a suffix -verse to get a rocker/verse:4.1.0 based container, e.g. hongyuanjia/eplusr:9.1.0-verse, hongyuanjia/eplusr:latest-verse.

Quickstart

docker run --rm -p 8787:8787 -e PASSWORD=yourpasswordhere hongyuanjia/eplusr

Visit http://localhost:8787 in your browser and log in with username rstudio and the password you set. NB: Setting a password is now REQUIRED. Container will error otherwise.

Common configuration options:

Install a different version of EnergyPlus

Sometime you may want to install another version of EnergyPlus along side with current EnergyPlus you are specified. There are two ways to do so:

  • If you want EnergyPlus to be installed into the default location using eplusr::install_eplus(), you have to give the root permissions when you run the container by passing ROOT=TRUE:

    docker run -d -p 8787:8787 -e ROOT=TRUE -e PASSWORD=yourpasswordhere hongyuanjia/eplusr
    
  • If you do not want to give the root permission, an alternative way is to download the version of EnergyPlus you want using eplusr::download_eplus() and manually install it following the instructions.

Bypassing the authentication step

Warning: use only in a secure environment. Do not use this approach on an AWS or other cloud machine with a publicly accessible IP address.

Simply set the environmental variable DISABLE_AUTH=true, e.g.

docker run --rm -p 8787:8787 -e DISABLE_AUTH=true hongyuanjia/eplusr

Navigate to http://localhost:8787 and you should be logged into RStudio as the rstudio user without needing a password.

More help

License

The Dockerfiles in this repository is licensed under the GPL 2 or later.

Trademarks

RStudio is a registered trademark of RStudio, Inc. The use of the trademarked term RStudio and the distribution of the RStudio binaries through the images hosted on hub.docker.com has been granted by explicit permission of RStudio. Please review RStudio's trademark use policy and address inqueries about further distribution or other questions to [email protected].

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.