This repository. Contains all server code and configuration.
Contains the Node.js client that connects to the cabinet and relays the messages to the HiveMind server.
Contains the code to run the sign-in client for NFC reader boxes.
Contains scripts to create the Raspberry Pi OS image for NFC reader boxes.
Check out code:
git clone https://gitlab.com/kqhivemind/hivemind.git
To run initial setup:
make initial-setup
If you just want to start containers without database migrations:
make up
The app should now be running on your local machine at http://localhost:8087.
To stop the container:
docker compose stop
To shutdown and delete your containers (WARNING: this will delete your local containers and database):
make down
This section may be deprecated
Logging in requires OAuth 2.0 credentials, which cannot be checked in or shared publicly. To log in to the site, you will need to generate your own credentials.
http://localhost
and http://localhost:8087
http://localhost:8087/auth
app.env
file as the values for OAUTH_CLIENT_ID
and OAUTH_CLIENT_SECRET
docker compose up -d
to apply these config changes to your running environmentTo create a scene with four cabinets and add yourself as an administrator, first visit http://localhost:8087 and log in to create your user account, then run:
EMAIL=<your admin email here> make test-scene
The HiveMind client repository contains a test configuration that will simulate four cabinets running games at random and a client that connects to your local instance.