www.techtransthai.org/install.sh

11 lines
358 B
Bash
Raw Normal View History

systemctl --user stop ttt-org
podman rm ttt-org --force
2023-07-24 04:54:27 +00:00
sed -i "s/DATE/$(date -I)/g" index.html
sed -i "s/VERSION/$(git log -1 --oneline | awk '{print $1}')/g" index.html
podman build -t ttt-org .
cp ttt-org.container ~/.config/containers/systemd
2023-08-09 20:36:10 +00:00
systemctl --user daemon-reload
systemctl --user start ttt-org
podman run --name ttt-org -p 8084:80 -d ttt-org