Compare commits

..
2 Commits
Author SHA1 Message Date
dbob16 f67e1c184e (change): Correction 2026-08-05 18:27:06 -04:00
dbob16 6c17f85e4c (add): start of portable option 2026-08-05 16:52:45 -04:00
3 changed files with 9 additions and 4 deletions

No files matched your search

+2 -2
View File
@@ -16,10 +16,10 @@ Docker images are available under the dbob16/tam-client repo within Docker Hub.
Then to run it:
`docker run -d --name tam-client --network host --restart unless-stopped -e host=127.0.0.1 -e port=3000 -v tam-data:/data dbob16/tam-client:latest`
`docker run -d --name tam-client --network host --restart unless-stopped -e HOST=127.0.0.1 -e PORT=3000 -v tam-data:/data dbob16/tam-client:latest`
It should then be available in a web browser at `http://localhost:3000` on the computer it is being run on. You can bookmark or make shortcuts to it for user convenience.
#### Port Conflict
If there is a conflict with the port when you go to start TAM, you can change the port by changing the number in the `-e port=3000` to another integer. For instance, if you have to change it to port 3001, you can change it to `-e port=3001` and then navigate to `http://localhost:3001` instead.
If there is a conflict with the port when you go to start TAM, you can change the port by changing the number in the `-e PORT=3000` to another integer. For instance, if you have to change it to port 3001, you can change it to `-e PORT=3001` and then navigate to `http://localhost:3001` instead.
+1 -2
View File
@@ -2,8 +2,7 @@
source ../../version.env
docker compose build
docker image tag dbob16/tam-client:latest dbob16/tam-client:${TAM_VERSION}
mkdir -p dist/images
echo "HOST=127.0.0.1" >> dist/prod.env
echo "HOST=127.0.0.1" > dist/prod.env
echo "PORT=3000" >> dist/prod.env
TAM_VERSION=${TAM_VERSION} envsubst < ./run-client.sh.template > ./dist/run-client.sh
chmod +x dist/run-client.sh
@@ -0,0 +1,6 @@
#!/bin/sh
if [ ! -d "./data" ]; then
mkdir ./data
fi
HOST=127.0.0.1 PORT=3000 ./exe/bin/node ./build