Sign inSign up

cthit/hubbit

By cthit

Updated about 5 years ago

A website to detect who is in the hub

Image
0

2.7K

cthit/hubbit repository overview

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

Tag summary

Content type

Image

Digest

Size

439.5 MB

Last updated

about 5 years ago

docker pull cthit/hubbit:stable