downgrade to 1.24

This commit is contained in:
vfs committed 2026-05-10 14:16:11 +02:00
1 parent c3308feff6
commit 312cf602c7
9 files changed
+46 -40

No files matched your search

+5 -4
View File
@@ -5,7 +5,7 @@ MIGRATE_VERSION=v4.18.1
REPO_URL=https://git.losandesgames.com/vfs/party
apt-get update -q
apt-get install -y -q git golang-go
apt-get install -y -q git golang-go build-essential wget
# Install golang-migrate (not in Debian repos)
if ! command -v migrate &>/dev/null; then
@@ -24,6 +24,7 @@ fi
echo ""
echo "Setup complete. Next steps:"
echo " 1. make deploy/migrate"
echo " 2. Edit /etc/party/environment with your DB DSN and secrets"
echo " 3. systemctl restart party"
echo " 1. make deploy"
echo " 2. ssh root@<server> and edit /etc/party/environment with real credentials"
echo " 3. make deploy/migrate"
echo " 4. systemctl restart party"
+2 -2
View File
@@ -2,7 +2,7 @@
set -euo pipefail
# Purge the installed package — removes binary, web assets, /etc/party, and the party user
if dpkg -s party &>/dev/null 2>&1; then
if dpkg -s party &>/dev/null; then
dpkg --purge party
fi
@@ -13,7 +13,7 @@ rm -rf /srv/party
rm -f /usr/local/bin/migrate
# Remove Go
apt-get remove -y golang-go
apt-get remove -y golang-go build-essential wget
apt-get autoremove -y
echo "Teardown complete."