Deployment stuff
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -1 +1,2 @@
|
||||
.env
|
||||
.env
|
||||
*.tar.gz
|
||||
10
deployment/client/client-load.sh
Executable file
10
deployment/client/client-load.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -x "$(command -v docker)" ]; then
|
||||
docker load -i tam3-webclient.tar.gz
|
||||
elif [ -x "$(command -v podman)" ]; then
|
||||
podman load -i tam3-webclient.tar.gz
|
||||
else
|
||||
echo "Neither Docker nor Podman are installed. Please install whichever you prefer and try again."
|
||||
exit 1
|
||||
fi
|
||||
12
deployment/remote_server_offline_images/server-load.sh
Normal file
12
deployment/remote_server_offline_images/server-load.sh
Normal file
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -x "$(command -v docker)" ]; then
|
||||
docker load -i tam3-api.tar.gz
|
||||
docker load -i tam3-db.tar.gz
|
||||
elif [ -x "$(command -v podman)" ]; then
|
||||
podman load -i tam3-api.tar.gz
|
||||
podman load -i tam3-db.tar.gz
|
||||
else
|
||||
echo "Neither Docker nor Podman are installed. Please install whichever you prefer and try again."
|
||||
exit 1
|
||||
fi
|
||||
Reference in New Issue
Block a user