TAM3 Logo: Cartoony red ticket with TAM3 on it.

Ticket Auction Manager

Remote Server Install

To setup the remote server you need the following prerequisites:

Loading in server images

Create a folder to download, extract, and load from (replace /var/tam3/images with a dir of your preference or to accommodate a specific distro):

mkdir -p /var/tam3/images
cd /var/tam3/images

Download the latest tam3-remote-server-offline-images_... file from the releases page. You can right-click it and click Copy Link, then Ctrl + Shift + V to put it into the terminal after the wget command:

wget https://github.com/dbob16/tam3/releases/download/0.1.1/tam3-remote-server-offline-images_0.1.1.tar.gz

Extract using tar. You can use tab autocomplete to match the file you downloaded. So after tar -xvzf you can put a space in, then type “tam3-remote-server” then press tab, it should fill the rest in, so it should look something like:

tar -xvzf tam3-remote-server-offline-images_0.1.1.tar.gz

Run the script.

./server-load.sh

Setup

Create directory if you don’t have one already and navigate to it, change as you see fit:

mkdir -p /var/tam3/server
cd /var/tam3/server

Download the latest tam3-remote-server_... or tam3-remote-server-secure_.... As above, you can right-click the link and click Copy Link, and paste into terminal using Ctrl + Shift + V.

For plain-text server

wget https://github.com/dbob16/tam3/releases/download/0.1.1/tam3-remote-server_0.1.1.tar.gz

For HTTPS Server

wget https://github.com/dbob16/tam3/releases/download/0.1.1/tam3-remote-server-secure_0.1.1.tar.gz

Extract the archive wget downloaded (using a space, typing in “tam3-remote” and Tab key after typing in the tar -xvzf part):

tar -xvzf tam3-remote-server_0.1.1.tar.gz

Or (For HTTPS Server):

tar -xvzf tam3-remote-server-secure_0.1.1.tar.gz

Run the script:

sudo ./start-server.sh

Generating API Keys

Each client should have its own API key. You can run the script and name them when asked from the same directory:

cd /var/tam3/server
sudo ./generate-key.sh

Listing keys

If you lose keys, you can list them by using the list script in the same directory:

cd /var/tam3/server
sudo ./list-keys.sh