add iot app store demo (#96)
This commit is contained in:
110
test-tools/IoT-APP-Store-Demo/wasm_django/devices/templates/help.html
Executable file
110
test-tools/IoT-APP-Store-Demo/wasm_django/devices/templates/help.html
Executable file
@ -0,0 +1,110 @@
|
||||
<!-- /* Copyright (C) 2019 Intel Corporation. All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/ -->
|
||||
{% load static %}
|
||||
<!DOCTYPE html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title> Wasm-Micro-Runtime </title>
|
||||
<script src="http://apps.bdimg.com/libs/jquery/1.10.2/jquery.min.js"></script>
|
||||
<!-- <link rel="stylesheet" type="text/css" href="{%static%/css/index.css"/> -->
|
||||
<!-- <link rel="stylesheet" type="text/css" href="/home/xujun/mysite/static/css/index.css"/> -->
|
||||
|
||||
<link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/4.1.0/css/bootstrap.min.css">
|
||||
<script src="https://cdn.staticfile.org/jquery/3.2.1/jquery.min.js"></script>
|
||||
<script src="https://cdn.staticfile.org/popper.js/1.12.5/umd/popper.min.js"></script>
|
||||
<script src="https://cdn.staticfile.org/twitter-bootstrap/4.1.0/js/bootstrap.min.js"></script>
|
||||
|
||||
<head>
|
||||
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="row clearfix">
|
||||
<div class="col-md-12 column">
|
||||
<div class="jumbotron">
|
||||
<h1>
|
||||
How to use?
|
||||
</h1>
|
||||
<p>
|
||||
1. Download a simple runtime (build for ubuntu 16.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>
|
||||
</p>
|
||||
<div class="span12">
|
||||
<div class="alert alert-info">
|
||||
<!-- <button class="close" type="button" data-dismiss="alert">×</button> -->
|
||||
<h5>
|
||||
Notes:
|
||||
</h5> We also have a <strong>UI-enabled runtime</strong>, please <a
|
||||
href="../static/upload/simple">download here</a> and enjoy.</strong> It may require
|
||||
a few more setups.
|
||||
<p>Before running the UI-enabled runtime, please install some required softwares:</p>
|
||||
<p><code>sudo apt-get install libsdl2-2.0-0:i386</code> </p>
|
||||
<p>For more details please refer to this <a
|
||||
href="https://github.com/intel/wasm-micro-runtime/tree/master/samples/littlevgl">guide</a>
|
||||
</p>
|
||||
<p><code>cd ~/Download && ./wasm_runtime_wgl -a 39.106.110.7</code></p>
|
||||
</div>
|
||||
</div>
|
||||
<p>
|
||||
3. Return to device page, find your device according to the IP address and click it, you
|
||||
will enter application installation page
|
||||
</p>
|
||||
<p>
|
||||
4. In the application installation page, click the Install Application button, and chose an
|
||||
app to install. (The "ui_app" is only for UI_enabled_runtimes, simple runtime can't install
|
||||
this app)
|
||||
</p>
|
||||
<p>
|
||||
5. If you want to upload a new application, go to App Store page, choose a file and click
|
||||
upload
|
||||
</p>
|
||||
<p>
|
||||
<a class="btn btn-primary btn-large" href="/">Go Back</a>
|
||||
<a class="btn btn-primary btn-large" href="../static/upload/simple">Download
|
||||
simple_runtime</a>
|
||||
<a class="btn btn-primary btn-large" href="../static/upload/wasm_runtime_wgl">Download
|
||||
UI_enabled_runtime</a>
|
||||
</p>
|
||||
</div>
|
||||
<div class="container">
|
||||
<div class="card">
|
||||
<div class="card-body">
|
||||
<h4 class="card-title">Like this project?</h4>
|
||||
<p class="card-text">Join us and build a powerful and interesting world for embedded
|
||||
devices!</p>
|
||||
<iframe
|
||||
src="https://ghbtns.com/github-btn.html?user=intel&repo=wasm-micro-runtime&type=star&count=true&size=large"
|
||||
frameborder="0" scrolling="0" width="160px" height="30px"></iframe>
|
||||
<iframe
|
||||
src="https://ghbtns.com/github-btn.html?user=intel&repo=wasm-micro-runtime&type=fork&count=true&size=large"
|
||||
frameborder="0" scrolling="0" width="158px" height="30px"></iframe>
|
||||
<p>
|
||||
<a href="https://github.com/intel/wasm-micro-runtime" class="btn btn-success">View
|
||||
on GitHub</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user