2023-10-25 15:37:38 +00:00
|
|
|
#!/bin/bash
|
2024-08-13 13:16:04 +00:00
|
|
|
function portaldsave() {
|
|
|
|
docker save portald:devel | gzip > portal.tar.gz
|
|
|
|
}
|
|
|
|
|
2023-10-25 15:37:38 +00:00
|
|
|
|
|
|
|
function rl() {
|
2024-08-13 13:16:04 +00:00
|
|
|
for var in "$@"; do
|
2023-10-25 15:37:38 +00:00
|
|
|
open -a iTerm ~/rl/$var
|
|
|
|
settitle $var
|
|
|
|
done
|
|
|
|
}
|
|
|
|
|
2023-10-25 19:30:40 +00:00
|
|
|
|
2023-10-30 14:00:12 +00:00
|
|
|
function rl-gsub() {
|
2023-10-25 19:30:40 +00:00
|
|
|
git submodule update --init --recursive --remote
|
|
|
|
}
|
|
|
|
|
2023-10-30 14:00:12 +00:00
|
|
|
function rl-portalshell() {
|
2024-04-11 02:56:00 +00:00
|
|
|
docker compose -f /home/tsouza/rl/vail-dev/docker-compose.yml exec portald bash
|
|
|
|
}
|
2024-05-20 14:07:28 +00:00
|
|
|
function rl-portalrunshell() {
|
|
|
|
docker compose -f /home/tsouza/rl/vail-dev/docker-compose.yml run --rm -it portald bash
|
|
|
|
}
|
2024-04-11 02:56:00 +00:00
|
|
|
function rl-dbshell() {
|
|
|
|
docker compose -f /home/tsouza/rl/vail-dev/docker-compose.yml exec portal-db bash
|
2023-10-30 14:00:12 +00:00
|
|
|
}
|
2024-01-30 19:49:02 +00:00
|
|
|
function rl-syncnode() {
|
2024-04-11 02:56:00 +00:00
|
|
|
docker compose -f /home/tsouza/rl/vail-dev/docker-compose.yml exec portald portal-manage sync_node
|
|
|
|
}
|
|
|
|
function rl-redisshell() {
|
|
|
|
docker compose -f /home/tsouza/rl/vail-dev/docker-compose.yml exec portal-redis bash
|
2024-01-30 19:49:02 +00:00
|
|
|
}
|
2024-05-20 14:07:28 +00:00
|
|
|
|
|
|
|
function rl-bash() {
|
|
|
|
docker compose -f /home/tsouza/rl/vail-dev/docker-compose.yml exec $1 bash
|
|
|
|
}
|
|
|
|
function rl-runbash() {
|
|
|
|
docker compose -f /home/tsouza/rl/vail-dev/docker-compose.yml run --rm -it $1 bash
|
|
|
|
}
|