This repository has been archived on 2023-11-05. You can view files and clone it, but cannot push or open issues or pull requests.
wasm-micro-runtime/test-tools/IoT-APP-Store-Demo
Xu Jun b9fd8f916b
update IoT cloud demo (#876)
* update IoT APP store demo

* update IoT app store apps

* update IoT cloud demo document

* [Cloud demo] mount app store between two dockers

* [Cloud demo] update restart policy

* [Cloud demo] update help page

* [Cloud demo] update online demo address
2021-12-07 20:19:23 +08:00
..
wasm_django update IoT cloud demo (#876) 2021-12-07 20:19:23 +08:00
docker-compose.yml update IoT cloud demo (#876) 2021-12-07 20:19:23 +08:00
README.md update IoT cloud demo (#876) 2021-12-07 20:19:23 +08:00

IoT Application Store

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. Download WAMR runtime from help page

    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/