Skip to content

Commit 43e66ea

Browse files
authored
Update documentation and dev depencies (#421)
1 parent 5dc2e40 commit 43e66ea

File tree

3 files changed

+13
-7
lines changed

3 files changed

+13
-7
lines changed

.travis.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ script:
1010
- python setup.py sdist
1111
- pip install --find-links=dist jupyterlab_git[test]
1212
- pytest jupyterlab_git
13-
- jlpm install
14-
- jlpm run build
1513
- jlpm run test
1614
- jupyter lab build
1715
- python -m jupyterlab.browser_check

README.md

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,13 @@ Requires node 4+ and npm 4+
5858
# Clone the repo to your local environment
5959
git clone https://github.com/jupyterlab/jupyterlab-git.git
6060
cd jupyterlab-git
61-
# Install the server extension in development mode
62-
pip install -e .
63-
jupyter serverextension enable --py jupyterlab_git
61+
# Install JupyterLab
62+
pip install jupyterlab
6463
# Install Javascript dependencies
6564
jlpm install
66-
# Build Typescript source
67-
jlpm run build
65+
# Install the server extension in development mode
66+
pip install -e .[test]
67+
jupyter serverextension enable --py jupyterlab_git
6868
# Link your development version of the extension with JupyterLab
6969
jupyter labextension link .
7070
```
@@ -75,3 +75,10 @@ To rebuild the package after a change and the JupyterLab app:
7575
jlpm run build
7676
jupyter lab build
7777
```
78+
79+
To execute the tests
80+
81+
```bash
82+
pytest jupyterlab_git
83+
jlpm run test
84+
```

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@
7474
"jest": "^24",
7575
"jest-fetch-mock": "^1.6.6",
7676
"lint-staged": "8.1.5",
77+
"mkdirp": "^0.5.1",
7778
"prettier": "1.16.4",
7879
"puppeteer": "^1.10.0",
7980
"rimraf": "^2.6.1",

0 commit comments

Comments
 (0)