Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/christianp/jupyter-interactions-site
https://github.com/christianp/jupyter-interactions-site
gallery jupyter jupyter-notebook static-site
Last synced: 1 day ago
JSON representation
- Host: GitHub
- URL: https://github.com/christianp/jupyter-interactions-site
- Owner: christianp
- Created: 2017-01-17T16:36:22.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-04-05T08:24:14.000Z (almost 8 years ago)
- Last Synced: 2024-12-26T11:27:48.325Z (about 2 months ago)
- Topics: gallery, jupyter, jupyter-notebook, static-site
- Language: JavaScript
- Homepage: https://mikecroucher.github.io/jupyter-interactions/
- Size: 174 KB
- Stars: 1
- Watchers: 4
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Tools to build the jupyter-interactions website
This tool builds a website showing off Jupyter interactions, from [mikecroucher/jupyter-interactions](https://github.com/mikecroucher/jupyter-interactions).
**You can see the gallery at [mikecroucher.github.io/jupyter-interactions/](https://mikecroucher.github.io/jupyter-interactions/)**
Here's how to build the site:
* Clone this repository.
* Run `git submodule init` to retrive [jupyter-interactions](https://github.com/mikecroucher/jupyter-interactions)
* Copy `config.yml.dist` to `config.yml`, and modify the paths as required.
* `build_path` is where the generated site should go.
* `notebook_path` is the path to your clone of the jupyter-interactions repository
* `notebook_runner_url` is the root of the URL to run notebooks - the notebook's name will be appended to this to make the link.
* `ignore_notebooks` is a list of notebook files to ignore.
* Install the dependencies withpip install -r requirements.txt
* To build the site, runpython build_site.py
* If you want to have different configurations for local and production use, make a `config_prod.yml` and use the `--config` option to use that instead:python build_site.py --config=prod
* To automatically regenerate the site whenever a source file changes, use `--watch`:python build_site.py --watch
### Licence
This code is © 2017 Christian Lawson-Perfect and others, and released under the MIT licence.
Icons from [IcoMoon.io](http://icomoon.io), used under the terms of the Creative Commons Attribution 4.0 licence.