data-8/data8-notebook

Name: data8-notebook

Owner: Data Science 8

Description: Docker image for testing data-8/systemuser

Created: 2016-06-30 00:12:19.0

Updated: 2016-06-30 00:16:47.0

Pushed: 2016-10-27 23:50:51.0

Homepage: null

Size: 10

Language: Python

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

data8-notebook

Docker image for testing data-8/systemuser

This docker image is based on data-8/systemuser. It enables the user, ostensibly DS8 instructors or GSIs, to test modifications in an environment nearly identical to the one on https://data8.berkeley.edu. This is not intended to act as a substitute for student's data8 server accounts. The server exists so that students don't have to follow any of these steps. Later DSEP courses may eventually teach this kind of procedure to students.

The basics to using this are 1) install docker, 2) download the course's docker image, then 3) run the image.

Mac
Install Docker

The Mac requirements are:

Download and install Docker.

Download and run Docker Image

Open Applications > Utilities > Terminal and run

er pull data8/data8-notebook
 -O https://raw.githubusercontent.com/data-8/data8-notebook/master/docker-compose.yml
er-compose up

This will take a while. Once docker-compose is running, open a web browser to http://localhost:8888.

Windows
Install Docker

The Windows requirements are:

Download and install Docker.

Download Docker Image
  1. Type Windows-R and enter cmd. This starts a terminal window.
  2. In the terminal window, run docker pull data8/data8-notebook. This will take a while.
Download Docker Compose File

Right-click on this link, https://raw.githubusercontent.com/data-8/data8-notebook/master/docker-compose.yml, and Save link as... the document.

Run the Container

In a terminal window, change directory to where you saved the docker-compose.yml file. For example:

Users\myname\Downloads

Then run docker-compose up and open a web browser to http://localhost:8888.

Installing Software

You can open a Jupyter terminal window via New > Terminal, or invoke shell commands within a notebook by preceding them with an exclamation mark:

 install somelibrary==1.0.0
 install git+https://github.com/someaccount/somelibrary.git
da install --yes otherlibrary==2.0.2

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.