Open Source

Repository

The source code of the simulator is publicly available at https://github.com/hpeuscher/loopinsight1.

License

LoopInsighT1 is subject to the MIT license.

Getting started for developers

Detailed instructions on how to install and setup all required software on a Windows PC:

  1. Download and install any recent version of node.js.
    Node.js is a JavaScript engine that can run locally on your PC.
  2. Download and install Git and TortoiseGit. (optional, but highly recommended)
    Git is a free tool for version control. You can use it to synchronize your local copy of our software with the online repository.
    TortoiseGit will help you to use the functions of Git comfortably in Windows Explorer.
  3. Create a local clone of the LoopInsighT1 repository.
    • with TortoiseGit installed:
      • Open a desired location on your PC in Windows explorer.
      • Right-click and hit “Git clone”.
      • Enter URL https://github.com/hpeuscher/loopinsight1.git and press OK.
      • Git creates a local clone in a new directory loopinsight1.
      • If you want to receive updates some time later: Right-click that directory and hit “Git sync” -> “Pull”
    • w/o Git support (not recommended)
      • Visit the GitHub repo
      • Click “Code” -> “Download zip”
      • Unzip the downloaded file to your preferred location
      • Note: You will not be able to update and synchronize with the repository
  4. Download and install Visual Studio Code. (optional, but highly recommended)
    VS Code will make navigation, programming and tooling MUCH more comfortable.
    • Launch VS Code and open the new local folder loopinsight1.
    • Visit the Addons section and install “Vue Language Features (Volar)”. (optional, but recommended).
      It will immensely improve your programming experience.
    • Hit “Terminal” -> “New Terminal”.
    • Enter npm update to install all dependencies of our project.
    • To compile a static bundle that you can integrate in a HTML page:
      1. Enter npm run build.
      2. Open the html files in the dist folder.
      3. That’s all, you should see the tool working.
    • To run a server locally, test and develop code:
      1. Enter npm run serve.
      2. Open a web browser and visit http://localhost:8080
      3. Edit something in the code, save the file, and your changes will take effect almost immediately.
    • Visit “Run and Debug” and configure the serve / run commands so you don’t have to type them every time. (optional, but recommended)
  5. Alternatively, without Visual Studio:
    1. Open a command window and navigate to your loopinsight1 folder.
    2. Enter the above commands there.
    3. Use any other IDE or Windows Editor to code 😉