Git Product home page Git Product logo

datascience-portal's Introduction

Data Science Portal

A portal to RStudio and Jupyter with ability to host Shiny and Dash apps.

Background

This uses shinyproxy under the hood to manage login and etc. Thi assumes you'll be running on a linux system.

Getting started

  1. Make sure docker and docker-compose are installed.
  2. Clone this repo
  3. Build docker images for example apps
docker build -t example_shiny ./shiny
docker build -t example_dash ./dash
docker build -t rstudio ./rstudio
docker build -t jupyter ./jupyter
  1. Create a docker user/group for managing mounted home dirs in rstudio and jupyter. more info
groupadd -g 1011 docker_worker
useradd -s /bin/false -u 1010 -g 1020 docker_worker

Give the users home directories and pass ownership to the docker_worker

# these are my cats - they are data scientists too...
sudo mkdir /home/users/mau
sudo mkdir /home/users/mau
sudo chown -R docker_worker:docker_worker /home/users
  1. Add users and passwords for these users in shinyproxy/application.yml

  2. Run docker-compose up to start the data science portal

docker compose up

Some Notes

To get the terminal working in RStudio: Tools > Global Options > Terminal and uncheck Connect with Websockets

datascience-portal's People

Contributors

rkingdc avatar

Watchers

 avatar  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.