Git Product home page Git Product logo

naereen / iocamljs-static Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 0.0 29.04 MB

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

Home Page: https://perso.crans.org/besson/publis/iocamljs/

HTML 0.45% CSS 0.03% Jupyter Notebook 0.26% JavaScript 99.26% Makefile 0.01%
iocaml ocaml jekyll-site ipython-notebook jupyter-notebook jupyter-kernel ocaml-jupyter jupyter-ocaml js-of-ocaml

iocamljs-static's Introduction

IOCamlJS-static

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.

How to obtain this?

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.

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 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

Where is this deployed on my own websites?

License and copyright?

This is NOT my property, it is the copyright of @andrewray, released under the MIT License.

iocamljs-static's People

Contributors

naereen avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.