Merge pull request #380 from minrk/installation

move install commands around a bit
This commit is contained in:
Carol Willing
2016-01-13 06:42:36 -08:00

View File

@@ -53,18 +53,10 @@ JupyterHub can be installed with pip:
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:
npm install
If you plan to run notebook servers locally, you may also need to install the
Jupyter ~~IPython~~ notebook:
pip3 install jupyter
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.
pip3 install notebook
### Development install
@@ -75,6 +67,12 @@ For a development install, clone the repository and then install from source:
cd jupyterhub
pip3 install -r dev-requirements.txt -e .
If the `pip3 install` command fails and complains about `lessc` being unavailable, you may need to explicitly install some additional JavaScript dependencies:
npm install
This will fetch client-side JavaScript dependencies necessary to compile CSS.
You may also need to manually update JavaScript and CSS after some development updates, with:
python3 setup.py js # fetch updated client-side js (changes rarely)