The Fab Lab's bot. By typing /quem
at our Slack, Groselha tells who is at the Fab Lab given their mac addresses.
/bin/bash config_db.sh
>>> from app import db
>>> db.create_all()
Start the server with FLASK_DEBUG=true python app.py
at the root folder.
(Only for the first time) npm install
npm run watch
(First, make sure you have the credentials to access this app in Heroku).
heroku run "python" -a fablabjoinville-bot
Go to /register-macs
and fill in the form.
Use scan.sh
script to scan the ARP table and send mac addresses to our servers:
./scan.sh eth0 host.com token