Hi everyone,
I work with Martin Atzmueller in Tilburg University (The Netherlands) in setting up the badges for an experiment. So far I have tried to do the set up (servers and hubs for the badges) on my private network but not made any much of a progress - hubs server badges seem not communicate with each other at all. The 5 badges and a raspberry pi, which I am playing with now, I believe Martin got from Human Dynamics groups.
What I did is fully deploying the code on the pi. On the pi (both raspbian stretch and hyprios), I cloned openbadge-server and openbadge-hub-py from github and save them inside one directory. Then build and up the .yml in the 02 sub-directories following the instruction on the READMEs (the two .env were set up accordingly). (I tried setting up with docker-machine via ssh from my lap to the pi too - the results are similar).
These are the docker containers I ended up with:
pi@raspberrypi:~ $ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
4759b27903c8 openbadgeserver_django "/bin/bash" 2 days ago Up 2 hours 5000/tcp openbadgeserver_django_run_3
b0461a9d1e3f openbadgehubpy_aws-backup "./entrypoint.sh" 2 days ago Up 2 hours openbadgehubpy_aws-backup_1
6d646debdb65 openbadgehubpy_openbadge-hub-py "./badge_hub.py -m s…" 2 days ago Up 2 hours openbadgehubpy_openbadge-hubpy_1
05cb57508401 openbadgeserver_nginx "nginx -g 'daemon of…" 2 days ago Up 2 hours 0.0.0.0:80->80/tcp openbadgeserver_nginx_1
2333fdcec410 openbadgeserver_django "/entrypoint.sh /gun…" 2 days ago Up 2 hours 5000/tcp openbadgeserver_django_1
bd5a5ea88117 openbadgeserver_django "/entrypoint.sh pyth…" 2 days ago Up 2 hours 5000/tcp openbadgeserver_django_run_2
0e55bbb23a53 openbadgeserver_django "/entrypoint.sh pyth…" 2 days ago Restarting (0) 57 seconds ago openbadgeserver_django_run_1
21a971497372 openbadgeserver_postgres "docker-entrypoint.s…" 2 days ago Up 2 hours 5432/tcp openbadgeserver_postgres_1
84a5ee1c5c9a redis:latest "docker-entrypoint.s…" 2 days ago Up 2 hours 0.0.0.0:6379->6379/tcp openbadgeserver_redis_1
From my laptop, I can access to the server on a web-browser, login using the username and password I gave while creating the super user for the django app - everything looks "normal" on the surface I guess.
But even though the Bluetooth of the pi and the badges are working - the pi can detect and connect to the badges, when I create a project with 02 badges (their MAC addresses were filled under "badges", the container ID of openbadge-hub-py was filled under the "hubs" as I assume it is the hub hostname):
I can seem to work out the problems (must I deploy the hubs and servers on separated hosts?, etc...). I am also not familiar with the network structures among docker containers. Would anyone have any suggestions?
- Thank you in advance.
Bo
--
You received this message because you are subscribed to the Google Groups "Rhythm Badges" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rhythm-badge...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rhythm-badges/52bc1c4e-4ffb-484e-b810-46cd17ef3203%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Rhythm Badges" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rhythm-badge...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rhythm-badges/0f0fce84-8f54-40c3-bad2-c2c2ec922d36%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to rhythm...@googlegroups.com.