mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-18 15:33:02 +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,16 +48,10 @@ Then install javascript dependencies:
|
|||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
As usual start with cloning the code:
|
JupyterHub can be installed with pip:
|
||||||
|
|
||||||
git clone https://github.com/jupyter/jupyterhub.git
|
pip3 install jupyterhub
|
||||||
cd jupyterhub
|
|
||||||
|
|
||||||
Then you can install the Python package by doing:
|
|
||||||
|
|
||||||
pip3 install -r requirements.txt
|
|
||||||
pip3 install .
|
|
||||||
|
|
||||||
If the `pip3 install .` command fails and complains about `lessc` being unavailable, you may need to explicitly install some additional javascript dependencies:
|
If the `pip3 install .` command fails and complains about `lessc` being unavailable, you may need to explicitly install some additional javascript dependencies:
|
||||||
|
|
||||||
npm install
|
npm install
|
||||||
@@ -66,7 +60,6 @@ If you plan to run notebook servers locally, you may also need to install the IP
|
|||||||
|
|
||||||
pip3 install "ipython[notebook]"
|
pip3 install "ipython[notebook]"
|
||||||
|
|
||||||
|
|
||||||
This will fetch client-side javascript dependencies and compile CSS,
|
This will fetch client-side javascript dependencies and compile CSS,
|
||||||
and install these files to `sys.prefix`/share/jupyter, as well as
|
and install these files to `sys.prefix`/share/jupyter, as well as
|
||||||
install any Python dependencies.
|
install any Python dependencies.
|
||||||
@@ -74,8 +67,10 @@ install any Python dependencies.
|
|||||||
|
|
||||||
### Development install
|
### 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 .
|
pip3 install -r dev-requirements.txt -e .
|
||||||
|
|
||||||
In which case you may need to manually update javascript and css after some updates, with:
|
In which case you may need to manually update javascript and css after some updates, with:
|
||||||
|
Reference in New Issue
Block a user