Browse Source

Small fixes to build instructions

Almar Klein 8 years ago
parent
commit
302cf12f88
3 changed files with 6 additions and 14 deletions
  1. 2 6
      examples/console/main.py
  2. 2 6
      examples/filebrowser/main.py
  3. 2 2
      tutorial/examples.md

+ 2 - 6
examples/console/main.py

@@ -7,12 +7,8 @@ Distributed under the terms of the Modified BSD License.
 Example
 -------
 
-To run the example, make sure the Jupyter notebook server version 4.2+ is
-installed.
-
-- To build the JavaScript bundle: ``npm install && npm run build``.
-- To run the Python code: ``python main.py``.
-- Navigate to ``localhost:8765`` in your browser.
+To run the example, see the instructions in the README to build it. Then
+run ``python main.py`` and navigate your browser to ``localhost:8765``.
 
 Note
 ----

+ 2 - 6
examples/filebrowser/main.py

@@ -7,12 +7,8 @@ Distributed under the terms of the Modified BSD License.
 Example
 -------
 
-To run the example, make sure the Jupyter notebook server version 4.2+ is
-installed.
-
-- To build the JavaScript bundle: ``npm install && npm run build``.
-- To run the Python code: ``python main.py``.
-- Navigate to ``localhost:8765`` in your browser.
+To run the example, see the instructions in the README to build it. Then
+run ``python main.py`` and navigate your browser to ``localhost:8765``.
 
 Note
 ----

+ 2 - 2
tutorial/examples.md

@@ -12,7 +12,7 @@ After installing the jupyter notebook server 4.2+, follow the steps for
 installing the development version of JupyterLab. To build the examples,
 enter from the ``jupyterlab`` repo root directory: 
 
-    npm run server:examples
+    npm run build:examples
 
 To run a particular example, navigate to the example's subdirectory in the
 ``examples`` directory and enter: 
@@ -30,7 +30,7 @@ Let's take a closer look at the source code in ``examples/filebrowser``.
 
 ### Directory structure of 'filebrowser' example
 
-The filebrowser in ``examples/file`` is comprised by a handful of files and
+The filebrowser in ``examples/filebrowser`` is comprised by a handful of files and
 the ``src`` directory:
 
 ![filebrowser source code](filebrowser_source.png)