Client Install
This is the subsection on installing Ticket Auction Manager on the client.
Prerequisites
- A Docker or Podman supported Linux distribution running on bare metal (preferred) or within WSL.
- Docker CE or Podman installed
- Docker Engine Install by Distro
- Podman Install by Distro
- On Fedora or Fedora Atomic, Podman can be enabled with two steps
sudo systemctl enable podmansudo systemctl enable podman-restart
- On Windows, Docker Desktop
Installation
Open a terminal emulator of your choice, create a directory to stage the installation, then navigate to it:
mkdir ~/tam3-client
cd ~/tam3-client
Download the latest version of tam3-client-full_... from the releases page using wget. Example using 0.2.0 below:
wget https://github.com/dbob16/tam3/releases/download/0.2.0/tam3-client-full_0.2.0.tar.gz
(To get the link for above, you can copy it by right-clicking, then Copy link. Then paste it into most terminal emulators by using Ctrl + Shift + V)
Extract the file by using the tar -xvzf tam3<Tab> (Using the Tab button can autocomplete in most consoles):
tar -xvzf tam3-client-full_0.2.0.tar.gz
Then using the two scripts, load and start the client:
./client-load.sh
./client-launch.sh
The client launch script will ask you a few questions to set it up.
- Do you want to connect to a remote server? “y” for yes, “n” for no (without quotes).
- Enter a short venue name: (Enter a short abbreviated or acronym’d event name)
(If you answered “y” (yes) to the remote server question above)
- Enter the protocol, server host/ip, and port like “https://ip_or_host:8443” w/o quotes:
- As it says, either enter
http://ip_or_host:8000if you installed your server in plain text mode. Orhttps://ip_or_host:8443if you installed it in secure mode.
- As it says, either enter
- Paste in (Ctrl + Shift + V on most terminal emulators) or enter the api key you generated for your server:
- The API key is to be generated using the
generate_key.shscript on the server. Or it can be retrieved by computer name by using thelist_keys.shscript on the server. You can highlight it, then copy it using Ctrl + Shift + C in most terminal emulators. Then paste into the window where you’re setting up your client using Ctrl + Shift + V.
- The API key is to be generated using the
Then once you’re done you can then open a web browser and navigate to http://localhost:8300/ to use it.