internal tool to feed fake data to platform
- Navigate to Releases page
- Find an Archive for your OS and CPU Arch
- Create directory like
tn_feeder
and navigate into it ( likemkdir tn_feeder && cd tn_feeder
) - Download Archive into that directory (e.g.
wget https://github.com/infinimesh/tn_fake_feeder/releases/download/v0.0.0/tn-feeder-v0.0.0-linux-amd64.tar.gz
) - Unpack it(e.g.
tar xvf tn-feeder-v0.0.0-linux-amd64.tar.gz
) You must see three files:- This README
- track.db - database with real world roads waypoints
- tn-feeder - executable file
- Congrats, You are ready to fake!
- Perform login via
inf
(if you don't have it installed, get it, that's way easier than this)inf login api.your.infinimesh:8000 user password
- Pick/Create Namespace of your choice and copy its UUID (like
aaaaaa-bbbb-cccc-dddddd
kind of thing) - Run
./tn-feeder <namespace-uuid> <amount-of-trucks>
Amount of trucks stands for number of devicestn_feeder
will create and simulate - Press
Ctrl+C
once you want to stop. Programm won't exit immediately(may take up to 15 sec), don't worry, it's cleaning up the devices frominfinimesh
, let it finish.