Setting up the AIO Container: Initial Setup

Setting Up

Once you have provided ThrillTech with your Github account and we have added you as a collaborator, you need to have a Github Personal Access Token (classic) with permissions to read packages.

Go to your account's Settings -> Developer Settings -> Personal Access Tokens -> Tokens (classic)nd create one.

(Click your avatar circle on the top right part of Github, click "Settings" and then "Developer Settings" is located at the bottom on the right of the menu of your account)

The only right it needs to have is to read packages.

Log in to our package repo and give your github username and the token your just created as password when prompted:

docker login ghcr.io/thrilltech-io

Once you have successfully authenticated with the repository, you are ready to continue with the steps to getting the ThrillPots Dev Container running:

  1. Clone the https://github.com/thrilltech-io/dev-containers repository
  2. Go to the /thrillpots folder in the repository and execute: docker compose up -d

This will download all the necessary packages and run them via Docker Compose. This process may take a few minutes to complete

  1. Import the provided Postman collection (ThrillPots AIO Setup.postman_collection.json) which can be found in the repository into your Postman application
  2. You will notice that it contains a number of endpoints, all numbered. The numbering indicates the sequence in which you must execute the calls.

  1. Execute all the steps in order

Once complete, you will have a ThrillPots system running and configured in 'standalone mode'. This means that you can make contributions and interact with the system, but there will be no external wallet calls made for player authentication or transactions.

In this mode, valid player IDs are in a range: [player_00000 ... player_00999]

As part of the steps, you will also have created a Jackpot Template, and from this template you created a Jackpot instance. Jackpot Instances are the "running jackpots" that players contribute to. You also made a contribution directly to the jackpot.

You would also have created a Source and mapped the Jackpot Instance to the source and successfully made a contribution to the jackpot via the Source

The final step in the setup was the creation of an Internal mock wallet in ThrillGate. In a later section, where wallet integration is discussed, you will change this configuration to allow connectivity to your own wallet service, but for now, this mock wallet implementation is enough to get started with.

ThrillPots Wallet Configuration

IMPORTANT

Please note that when you change the wallet configuration for the ThrillPots service, you MUST restart the ThrillPots service for the changes to take effect.