Skip to content

RomanDietenmeier/lerny-app

Repository files navigation

LERNY-APP

Learn Project Example
Learn Project Example Learn Project Editor
With the Lerny App you can create interactive Tutorials.
You can explain everything in Markdown, write run & test code.
And you can export your Learn Projects to share them with other.

Set up Development Environment

  • Windows Setup Video
  • clone project
  • use node version v16.14.2
    • nvm install 16.14.2
    • nvm use 16.14.2
  • check "node-pty" dependencies:
    • node-pty
      For example on Windows:
      • make sure python3 is installed
      • install the Windows SDK features for "Desktop C++ Apps"
      • npm install --global --production windows-build-tools
  • npm i
  • npm run start

Hints and possible Problems

"contpty.node" was compiled against a different Node.js version

  • do: ./node_modules/.bin/electron-rebuild

External Links on Linux

  • "xdg-utils" are needed to be installed to open external Links in LearnPages

Build from source:

  • setup Development Environment
  • npm run build