mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-18 07:23:00 +00:00
Merge pull request #275 from jhamrick/installation-instructions
Update installation instructions
This commit is contained in:
15
README.md
15
README.md
@@ -48,15 +48,9 @@ Then install javascript dependencies:
|
||||
|
||||
## Installation
|
||||
|
||||
As usual start with cloning the code:
|
||||
JupyterHub can be installed with pip:
|
||||
|
||||
git clone https://github.com/jupyter/jupyterhub.git
|
||||
cd jupyterhub
|
||||
|
||||
Then you can install the Python package by doing:
|
||||
|
||||
pip3 install -r requirements.txt
|
||||
pip3 install .
|
||||
pip3 install jupyterhub
|
||||
|
||||
If the `pip3 install .` command fails and complains about `lessc` being unavailable, you may need to explicitly install some additional javascript dependencies:
|
||||
|
||||
@@ -66,7 +60,6 @@ If you plan to run notebook servers locally, you may also need to install the IP
|
||||
|
||||
pip3 install "ipython[notebook]"
|
||||
|
||||
|
||||
This will fetch client-side javascript dependencies and compile CSS,
|
||||
and install these files to `sys.prefix`/share/jupyter, as well as
|
||||
install any Python dependencies.
|
||||
@@ -74,8 +67,10 @@ install any Python dependencies.
|
||||
|
||||
### Development install
|
||||
|
||||
For a development install:
|
||||
For a development install, clone the repository and then install from source:
|
||||
|
||||
git clone https://github.com/jupyter/jupyterhub
|
||||
cd jupyterhub
|
||||
pip3 install -r dev-requirements.txt -e .
|
||||
|
||||
In which case you may need to manually update javascript and css after some updates, with:
|
||||
|
Reference in New Issue
Block a user