Giter Site home page Giter Site logo

shin-yakoga / azuresphereexplorer4web Goto Github PK

View Code? Open in Web Editor NEW

This project forked from something-precious-inc/azuresphereexplorer4web

0.0 0.0 0.0 26 KB

Azure Sphere Management console on Web Browser.

License: MIT License

JavaScript 84.01% CSS 1.98% HTML 14.00%

azuresphereexplorer4web's Introduction

AzureSphereExplorer4Web

Run the AzureSphereExplorer4Web. Base project is ms-identity-javascript-v2. This tool is inspired by https://github.com/matsujirushi/AzureSphereExplorer

Content

File name Description
authConfig.js Settings for Azure Sphere Public API.
authPopup.js Main authentication logic resides here (using Popup flow).
azurePublicAPI.js Using Azure Sphere Public API.
main.js Main method.
ui.js Contains UI logic.
index.css CSS file for index.html
index.html Index file.

Prerequisites

  • You have an account for Azure Sphere tenant.
  • You have an Azure Sphere tenant.
  • Using a browser where you can set up a Allow CORS. e.g.Google Chrome.
    • Installed Google Chrome Browser.
    • Installed Google Chrome Plugin Allow CORS.
  • Using a web server where you can set up a reverse proxy. e.g. Nginx.
    • Installed Nginx.

Running the Demo

  1. Setup Nginx.
    1.1 Set Reverse Proxy in nginx.conf.
http {
 server {
  location / {
#  root   html;
#  index  index.html index.htm;
   proxy_pass https://something-precious-inc.github.io/AzureSphereExplorer4Web/; 
  }
 }
}

1.2 Run the Nginx.
2. Run the Google Chrome Browser and enable Allow CORS plugin.
3. Access http://localhost/.
4. Sign in to your account for Azure Sphere tenant.
5. Select a tenant and click the [Select] button.
6. Click product name in Product or device group name in Device Group.

How to use full function

Download master branch.

  • Change tenant
  • Create product (right click in product list area)
  • Delete product (right click in product list area)
  • Create device group (right click in product list area or device group list are)
  • Delete device group (right click in device group list are)
  • Update imagepackage file for device group (right click in device group list are)
  • Deployment for device group (right click in device group list are)
    • Use "azsphere pkg show -f "imagepackage file path"". Show "Image ID".
  • Change device group for device (right click in device list are)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.