Document
WAMR on GitHubWAMR Blogs
  • WAMR Document Home Page
  • Basics
    • Introduction
      • WebAssembly
      • WAMR Project
      • Security Feature
    • Getting Started
      • Host Environment Preparation
      • Hello-world Program On Host
      • Docker Environment Preparation
      • Hello-world Program On Docker
      • Build And Run WASM Application
        • More Tools To Create WASM Application
  • WAMR In Practice
    • Tutorial
      • WAMR Running Modes
      • Build Tutorial
        • Build iwasm
        • Build wamrc
      • Language Embedding
        • C/C++
        • Python
        • Go
      • Debugging & IDE Support
        • WAMR Source Debugging With LLDB
        • VS Code Support
          • Enable Debugging In VS Code
          • Move LLDB Binaries
    • Advance Tutorial
      • Performance Test
        • PolyBench
        • CoreMark
        • Sightglass
        • JetStream2
      • Memory Usage Tunning
      • Application Framework
      • Remote Application Management
        • Example 1: Install/Uninstall WASM App Remotely
        • Example 2: IoT App Store Demo
      • WAMR Porting Guide
    • Features
      • Export Native APIs To WASM Applications
        • Example 1: Export C Functions to WASM
        • Example 2: Using "native-lib"
      • Multiple Modules As Dependencies
        • Multi-modules Example
      • Multi-thread, Pthread APIs And Thread Management
        • Multi-thread Example
      • Linux SGX(Intel Software Guard Extension) Support
      • Linux SGX Remote Attestation
      • XIP(Execution In Place) Support
      • Socket Support
        • Example: Use Socket Api in WAMR
      • Post-MVP Features
        • WASM C API
        • 128-bit SIMD
        • Reference Types
    • More Examples
      • File Interaction Of WASI
      • GUI Example
        • Littlevgl
        • LVGL
      • Same WASM Program Executing Concurrently
      • Build And Run Workload
    • User Case
  • Programmer's Manual
    • Programmer's Manual
      • C API Lists
  • Community
    • How To Contribute
    • WAMR On Github
    • WAMR Blogs
  • Appendix
    • Appendix A. Background Knowledge And Glossary Of Terms
    • Appendix B. WebAssembly Details
    • Appendix C. Complete WAMR Guide
Powered by GitBook
On this page
  • Start the server
  • Using docker
  • Using commands
  • Start the runtime
  • Online demo
  1. WAMR In Practice
  2. Advance Tutorial
  3. Remote Application Management

Example 2: IoT App Store Demo

The related code/working directory of this example resides in directory {WAMR_DIR}/test-tools/IoT-APP-Store-Demo

PreviousExample 1: Install/Uninstall WASM App RemotelyNextWAMR Porting Guide

Last updated 1 year ago

Note: This demo has been migrated to .

Wasm application management portal for WAMR

Start the server

Using docker

  1. install docker and docker-compose

    sudo apt install docker.io docker-compose
  2. start

    docker-compose up

Using commands

Note: must use python3.5. If you don't have python3.5 on your machine, had better using docker

  1. install the required package

    pip3 install django
  2. Start device server

    cd wasm_django/server
    python3 wasm_server.py
  3. Start IoT application management web portal

    cd wasm_django
    python3 manage.py runserver 0.0.0.0:80

Start the runtime

  1. NOTE: You need to start the server before accessing this link!

  2. Start a WAMR runtime from localhost

    chmod +x simple
    ./simple

    or from other computers

    ./simple -a [your.server.ip.address]

Online demo

http://82.156.57.236/

Download WAMR runtime from page

bytecodealliance/wamr-app-framework/test-tools/IoT-APP-Store-Demo
help