Skip to content

Commit 4696b95

Browse files
committed
clean up
1 parent 86f0390 commit 4696b95

File tree

4 files changed

+10
-9
lines changed

4 files changed

+10
-9
lines changed

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,24 +10,25 @@ generation user interface of Project Jupyter.
1010

1111
## Installation
1212

13-
The requirements for this demo are described in `environment.yml`
13+
The demo requires [conda](https://conda.io/miniconda.html) and the package
14+
requirements are described in `environment.yml`
1415

15-
For users with [Anaconda](https://anaconda.org/), this JupyterLab uses a conda environment named `jupyterlab-demo`.
16-
17-
To install the environment and demofiles, we use [pyinvoke](pyinvoke.org). To install pyinvoke with pip call:
16+
To install the environment and demofiles, we use [pyinvoke](pyinvoke.org). To install pyinvoke with conda call:
1817

1918
```bash
20-
pip install invoke
19+
conda install -c conda-forge invoke pyyaml
2120
```
2221

2322
### Create the environment
2423

2524
To create the conda environment with all the dependencies and jupyterlab extensions for the demo, run:
2625

2726
```bash
28-
invoke environment
27+
invoke environment # optionally --env-name=my-env-name
2928
```
3029

30+
The default environment name is `jupyterlab-demo`.
31+
3132
To create the environment and remove previous installation, call:
3233

3334
```bash

postBuild

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
set -ex
22

33
# Set up r kernel
4-
export R_USER_LIB=$HOME/R/library
4+
export R_USER_LIB=$HOME/.R/library
55
mkdir -p $R_USER_LIB
66
echo "R_LIBS_USER='$R_USER_LIB'" > $HOME/.Renviron
77
cat $HOME/.Renviron

talks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ demo:
3535
rename:
3636
demofiles/urban-data-challenge/public-transportation/geneva/schedule-real-time.csv: big.csv
3737
demofiles/tcga/extra_data/c2.cp.v3.0.symbols_edit.csv: smaller.csv
38-
demofiles/altair/altair/v1/examples/json/field_spaces.vl.json: vega.vl.json
38+
demofiles/altair/altair/v1/examples/json/bar.vl.json: vega.vl.json
3939
demofiles/PythonDataScienceHandbook/notebooks/03.08-Aggregation-and-Grouping.ipynb: notebooks/pandas.ipynb
4040
"demofiles/bqplot/examples/Basic Plotting/Basic Plotting.ipynb": notebooks/bqplot.ipynb
4141
"1024px-Hubble_Interacting_Galaxy_AM_0500-620_(2008-04-24).jpg": hubble.jpg

tasks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def demofiles(ctx, clean=False, demofolder=demofolder):
8686
]
8787
for repo in reponames:
8888
if not os.path.isdir(repo.split('/')[1]):
89-
ctx.run('git clone https://github.com/{}.git'.format(repo))
89+
ctx.run('git clone --depth 1 https://github.com/{}.git'.format(repo))
9090
assert os.path.isdir(repo.split('/')[1]), '{} failed download'.format(repo)
9191
# This empty file and empty folder are for showing drag and drop in jupyterlab
9292
ctx.run('touch move_this_file.txt; mkdir move_it_here')

0 commit comments

Comments
 (0)