Skip to content
This repository has been archived by the owner on Jul 1, 2024. It is now read-only.

OpenAmbientIoT/wiliot-asset-adder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wiliot-hack

env

need to rebuild .env file to contain tokens (can find tokens and info on wiliot developer portal)

files here

  1. app.py
    1. web app to bulk add items
  2. qr_app.py
    1. command line tool to add tags with set number of tags

building docs on traceability

pdoc env/lib/python3.9/site-packages/wiliot/cloud_apis/traceability/traceability.py

terminology

app === connection

asset (virtual representation of physical objkect)

  • sku === label
  • pixels === tags

steps to deploy

I am a socker novice, so this deployment may be buggy, ideally I want to have an environment to develop on, not just build This docker container runs the app.py (web app). I'm not totally sure how to get the command line program working.

  1. have docker installed
  2. docker image build -t wiliot-hack .
  3. docker run -p 80:80 --name wiliot-hack wiliot-hack
  4. docker start wiliot-hack
  5. docker stop wiliot-hack

steps to duplicate dev environment

  1. python 3.9+
  2. python -m venv env
  3. source env/bin/activate
  4. pip install requirements.txt
  5. Have qr scanner connected.
  6. Have SKU labels and PIXEL labels ready, as well as termination QR code
  7. python qr_app.py or python app.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published