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
Wasm application management portal for WAMR

Start the server

Using docker

  1. 1.
    install docker and docker-compose
    sudo apt install docker-compose
  2. 2.
    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. 1.
    install the required package
    pip3 install django
  2. 2.
    Start device server
    cd wasm_django/server
  3. 3.
    Start IoT application management web portal
    cd wasm_django
    python3 runserver

Start the runtime

  1. 1.
    Download WAMR runtime from help page
    NOTE: You need to start the server before accessing this link!
  2. 2.
    Start a WAMR runtime from localhost
    chmod +x simple
    or from other computers
    ./simple -a [your.server.ip.address]

Online demo