Giter Club home page Giter Club logo

iotportal's Introduction

DISCONTINUATION OF PROJECT.

This project will no longer be maintained by Intel.

This project has been identified as having known security escapes.

Intel has ceased development and contributions including, but not limited to, maintenance, bug fixes, new releases, or updates, to this project.

Intel no longer accepts patches to this project.

IoT Portal is a web application that interacts with Intel In-Band Manageability to provide remote over-the-air (OTA) updates to IoT devices. It supports Firmware OTA (FOTA), Software OTA (SOTA), Application OTA (AOTA) and Configuration OTA (COTA).

  • Supports FOTA, SOTA, AOTA and COTA features.
  • Device categorization feature.
  • Device grouping feature.
  • Saved command feature.
  • Mass OTA update feature.
  • Robust Mass OTA background job processing.

๐Ÿ“‹ Requirements

These dependencies are free to use.

๐Ÿ”ง Installation

You can install IoT Portal using Docker containers on Linux distributions. Use the provided Bash scripts to get started quickly.

Linux

Install Docker Engine 20.10

curl -fsSL https://get.docker.com -o get-docker.sh
sudo VERSION=20.10 sh get-docker.sh

Optionally, manage Docker as a non-root user by following the instructions at Manage Docker as a non-root user.

sudo groupadd docker
sudo usermod -aG docker $USER
newgrp docker

Install Docker Compose 1.29.2

sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose

Clone the repository to your system:

git clone https://github.com/intel/IoTPortal

Navigate to the scripts directory and give it permission to execute:

cd scripts && chmod +x *

Run the installation script. A ./iotportaldata directory will be created.

./iotportal.sh install 

Finally, start your IoT Portal instance.

./iotportal.sh start 

Migrate the database for the first run.

./iotportal.sh migrateDb 

Seed the database.

./iotportal.sh seedDb 

To seed the database with sample data, run the command below. A random generated user will be created with the password defaulted to password.

ONLY TRY THIS ON DEVELOPMENT INSTANCE! THIS IS FOR YOU TO EXPERIMENT THE FEATURES WITHOUT ACTUALLY PROVISIONING A DEVICE.

./iotportal.sh seedDbSample 

By default, the script uses values in the .env.staging file for deployment. You should replace those default credentials, e.g. DB_PASSWORD, REDIS_PASSWORD, MQTT_PASSWORD etc. with your own randomly generated password for production deployment.

๐Ÿ“– Script Commands Reference

Command Description
install Start the installer.
start Start all containers.
restart Restart all containers (same as start).
stop Stop all containers.
rebuild Rebuild generated installation assets.
migrateDb Update/initialize the database.
seedDb Seed all required data for first run.
seedDbSample Seed the database with sample data. (Development use only)
clearDb Clear the entire database. (Development use only)
help List all commands.

Use these commands cautiously. Some commands are intended for development purpose only.

โš’๏ธ In-Band Manageability Integration

Read our Integration Guide to learn how to integrate the IoT Portal adapter into In-Band Manageability.

๐Ÿ‘ Contributing

Thank you for considering contributing to the IoT Portal! PHPStorm is highly recommended if you are working on this project. Please commit any pull requests against the master branch.

๐Ÿ“„ License

IoT Portal is open-sourced software licensed under the GPL-2.0-or-later license.

iotportal's People

Contributors

dependabot[bot] avatar desmondsow-intel avatar rdower avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

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.