Run the AzureSphereExplorer4Web. Base project is ms-identity-javascript-v2. This tool is inspired by https://github.com/matsujirushi/AzureSphereExplorer
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. |
- 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.
- 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.
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)