Git Product home page Git Product logo

docker-rcloud-dev's Introduction

docker-rcloud-dev

A Docker image for developing with RCloud

Installation

Get Docker for your platform.

From the command line, with your Docker deamon running, enter

docker pull mangothecat/rcloud-dev

The image is based on the official rcl0ud/rcloud image and makes a few tweaks to aid development. That image is based on Debian Jessie.

Usage

This Docker image is designed for someone who is developing RCloud code. To that end you will have a repository checked out from https://github.com/att/rcloud or your own fork.

Running the container

Make sure your working directory is the root of the rcloud repository. Launch a container making sure to map port 8080 back to your local host.

docker run -d -p 8080:8080 --rm -v </path/to/rcloudrepo>:/data/rcloud -v rcdev

and with other packages you are developing similarly mounted. Linux and Mac users can just use -v .:/data/rcloud but that never seems to work for me from standard Windows shells.

Once launched the container will run the scripts/build.sh script that rebuilds the javascript and the R packages. This can take up to a minute and so there will be a delay before RCloud comes up. When it's done go to:

http://localhost:8080/login.R

And then you can start you RCloud testing.

Windows Users

There is a .gitattributes file that should ensure files are checked out with Linux line endings. Try to keep this when creating new files with Windows. When they are mounted into Linux Windows line endings can cause problems in the container.

Docker Compose

The easiest way to run RCloud is with a docker-compose file. This lets you set up a group of containers and volumes without specifying everything as a command line option. This is particularly useful if you are also running a solr instance from https://github.com/mangothecat/docker-rcloud-solr. An example docker-compose is in this repo.

docker-rcloud-dev's People

Contributors

dougmet avatar

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.