need to rebuild .env file to contain tokens (can find tokens and info on wiliot developer portal)
- app.py
- web app to bulk add items
- qr_app.py
- command line tool to add tags with set number of tags
pdoc env/lib/python3.9/site-packages/wiliot/cloud_apis/traceability/traceability.py
app === connection
asset (virtual representation of physical objkect)
- sku === label
- pixels === tags
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.
- have docker installed
docker image build -t wiliot-hack .
docker run -p 80:80 --name wiliot-hack wiliot-hack
docker start wiliot-hack
docker stop wiliot-hack
- python 3.9+
python -m venv env
source env/bin/activate
pip install requirements.txt
- Have qr scanner connected.
- Have SKU labels and PIXEL labels ready, as well as termination QR code
python qr_app.py
orpython app.py