MDLR Examples

My experiments using mdlr-js.

Installation

Preferred

Prerequisites:

  • docker installed
  • docker-compose
  • browser

Work around

Prerequisites:

  • mdlr-js downloaded
  • terminal
  • browser

Usage

Preferred

  • create project directory
  • within project directory create user directory
  • copy the docker-compose.yaml from mdlr-js to the project directory
  • run docker-compose up from the project directory
  • navigate in the browser to https://localhost:8443/code/mdlr/http/repl.html

Workaround

General

In chrome:

  • CTRL-o to open a js file
  • navigate to a js REPL file in your file system
  • Magic
  • Changes in the code on the left will be immediately reflected on the right
  • save changes with CTRL-s

License

Use the code the way you want at your own risk. It is not copyrighted.