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
This commit is contained in:
9
test-tools/IoT-APP-Store-Demo/wasm_django/Dockerfile
Normal file
9
test-tools/IoT-APP-Store-Demo/wasm_django/Dockerfile
Normal file
@ -0,0 +1,9 @@
|
||||
FROM python:3.5
|
||||
|
||||
WORKDIR /app
|
||||
ADD . /app
|
||||
|
||||
RUN pip install django
|
||||
|
||||
ENTRYPOINT ["python", "manage.py", "runserver", "0.0.0.0:80"]
|
||||
|
||||
@ -32,11 +32,11 @@
|
||||
How to use?
|
||||
</h1>
|
||||
<p>
|
||||
1. Download a simple runtime (build for ubuntu 16.04 64 bits, other platforms please build
|
||||
1. Download a simple runtime (build for ubuntu 20.04 64 bits, other platforms please build
|
||||
from the <a href="https://github.com/intel/wasm-micro-runtime">source code</a>)
|
||||
</p>
|
||||
<p>
|
||||
2. In the terminal: <code>cd ~/Download && ./simple -a 39.106.110.7</code>
|
||||
2. In the terminal: <code>cd ~/Download && ./simple -a 82.156.57.236</code>
|
||||
</p>
|
||||
<div class="span12">
|
||||
<div class="alert alert-info">
|
||||
@ -51,7 +51,7 @@
|
||||
<p>For more details please refer to this <a
|
||||
href="https://github.com/bytecodealliance/wasm-micro-runtime/tree/main/samples/littlevgl">guide</a>
|
||||
</p>
|
||||
<p><code>cd ~/Download && ./wasm_runtime_wgl -a 39.106.110.7</code></p>
|
||||
<p><code>cd ~/Download && ./wasm_runtime_wgl -a 82.156.57.236</code></p>
|
||||
</div>
|
||||
</div>
|
||||
<p>
|
||||
|
||||
@ -0,0 +1,6 @@
|
||||
FROM python:3.5
|
||||
|
||||
WORKDIR /app
|
||||
ADD server/wasm_server.py /app/server/
|
||||
|
||||
ENTRYPOINT ["python", "server/wasm_server.py"]
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user