notebook/README.md

63 lines
1.3 KiB
Markdown
Raw Normal View History

2015-04-11 07:20:18 +08:00
# Jupyter Notebook
The Jupyter HTML notebook is a web-based notebook environment for interactive computing.
2015-04-13 23:22:01 +08:00
Dev quickstart:
* ensure that you have node/npm installed (e.g. `brew install node` on OS X)
2015-04-13 23:22:01 +08:00
* Clone this repo and cd into it
* `pip install --pre -e .`
_NOTE_: For Debian/Ubuntu systems, if you're installing the system node you need
to use the 'nodejs-legacy' package and not the 'node' package.
2015-04-13 23:22:01 +08:00
2015-04-11 07:20:18 +08:00
Launch with:
jupyter notebook
2015-04-13 23:22:01 +08:00
Example installation (tested on Ubuntu Trusty):
```
sudo apt-get install nodejs-legacy npm python-virtualenv python-dev
# ensure setuptools/pip are up-to-date
pip install --upgrade setuptools pip
2015-05-14 01:56:32 +08:00
git clone https://github.com/jupyter/notebook.git
cd notebook
pip install --pre -e .
jupyter notebook
```
2015-08-17 23:50:22 +08:00
## Working on the frontend
The Notebook frontend depends on a wide set of libraries and package managers.
NPM is used to macro manage the frontend build process. You can build the
frontend Javascript and LESS by running
```
npm run build
```
If you need to build the Javascript alone
```
npm run build:js
```
Or LESS
```
npm run build:css
```
To build specific sub components, separate using a colon. i.e. to build only
the terminal's Javascript
```
npm run build:js:terminal
```
To clean all built output
```
npm run clean
```