Skip to content
This repository has been archived by the owner on May 18, 2022. It is now read-only.

Latest commit

 

History

History
35 lines (24 loc) · 754 Bytes

README.md

File metadata and controls

35 lines (24 loc) · 754 Bytes

hubbIT

Is used together with https://github.com/cthit/hubbIT-sniffer

Is build in rails...

To setup the docker development environment:

run

docker-compose up --build

And that should be it.

you should now have a server live on port 4000

To solve authentication against accounts add

0.0.0.0       local.chalmers.it

to /etc/hosts

If you use Windows. I don't know. Pray or Google it.

Testing

If you want to simulate a user that is in the hub for testing purposes you can run:

curl -X PUT -H "Authorization: Token token=<API_TOKEN>" -F "macs[]=<The mac adresses, must be in testing database>" localhost:4000/sessions

ask digIT for the api_key production key Or in development The key is set to 123456789