Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/naereen/iocamljs-static

A static build of IOCamlJS kernel for IPython notebook - see https://github.com/andrewray/iocamljs/tree/gh-pages
https://github.com/naereen/iocamljs-static

iocaml ipython-notebook jekyll-site js-of-ocaml jupyter-kernel jupyter-notebook jupyter-ocaml ocaml ocaml-jupyter

Last synced: 24 days ago
JSON representation

A static build of IOCamlJS kernel for IPython notebook - see https://github.com/andrewray/iocamljs/tree/gh-pages

Awesome Lists containing this project

README

        

# IOCamlJS-static

A static build of [IOCamlJS](https://github.com/andrewray/iocamljs/tree/gh-pages), which is a list of Online OCaml Javascript REPLs.
They allow you to use the [OCaml](https://www.ocaml.org/) language, running on your browser (client-side, using Javascript), pretty much like [BetterOCaml](https://github.com/jbdo99/BetterOCaml/) () but using the [IPython](https://www.ipython.org/) [notebook](https://jupyter.org/) interface from 2014.

**TL;DR:** I wanted to copy [this folder](https://andrewray.github.io/iocamljs/) to , and so I did the following.

## How to obtain this?

Git clone [the repository](https://github.com/andrewray/iocamljs/), check out the [gh-pages](https://github.com/andrewray/iocamljs/tree/gh-pages) branch, then use [Jekyll](https://jekyllrb.com/) static website builder to compile the website:
```bash
git clone https://github.com/andrewray/iocamljs
git branch origin/gh-pages
jekyll build
```

The `_site/` folder is now ready to be sent to any folder on your website.

## How to deploy to your own website?
If you want this folder to be sent to `myserver.com/dest/folder/`, you have to change the `_config.yml` file from to change the `root_path` key:

```yml
root_path: /dest/folder/
```

For instance, to deploy to , I had to use:
```yml
root_path: /besson/publis/iocamljs
```

## Where is this deployed on my own websites?

- Here on [`perso.crans.org/besson`](https://perso.crans.org/besson/) : ;
- Here on [`besson.link`](https://besson.link/) : ;
- And here on (an invisible mirror of the previous link, but not accessible by HTTPS).

## License and copyright?

This is NOT my property, it is the copyright of [@andrewray](https://github.com/andrewray/), released under the [MIT License](https://github.com/andrewray/iocamljs/blob/master/LICENSE).