A static build of IOCamlJS, which is a list of Online OCaml Javascript REPLs. They allow you to use the OCaml language, running on your browser (client-side, using Javascript), pretty much like BetterOCaml (https://BetterOCaml.ml) but using the IPython notebook interface from 2014.
TL;DR: I wanted to copy this folder https://andrewray.github.io/iocamljs/ to https://perso.crans.org/besson/publis/iocamljs/, and so I did the following.
Git clone the repository, check out the gh-pages branch, then use Jekyll static website builder to compile the website:
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.
If you want this folder to be sent to myserver.com/dest/folder/
, you have to change the _config.yml
file from https://github.com/andrewray/iocamljs/tree/gh-pages to change the root_path
key:
root_path: /dest/folder/
For instance, to deploy to https://perso.crans.org/besson/publis/iocamljs/, I had to use:
root_path: /besson/publis/iocamljs
- Here on
perso.crans.org/besson
: https://perso.crans.org/besson/publis/iocamljs/ ; - Here on
besson.link
: https://besson.link/publis/iocamljs/ ; - And here on http://iocamljs.besson.link (an invisible mirror of the previous link, but not accessible by HTTPS).
This is NOT my property, it is the copyright of @andrewray, released under the MIT License.