Refactor Mastodon installation script

This commit is contained in:
Tobias
2026-07-26 18:55:29 +02:00
committed by GitHub
parent 123e37bf4a
commit 6beceb2b8f
-2
View File
@@ -41,7 +41,6 @@ $STD apt install -y \
msg_ok "Installed Dependencies"
setup_ffmpeg
NODE_VERSION="24" NODE_MODULE="corepack" setup_nodejs
$STD corepack enable
@@ -68,7 +67,6 @@ $STD yarn install
msg_ok "Installed Node.js Dependencies"
msg_info "Configuring Mastodon"
LOCAL_IP=$(hostname -I | awk '{print $1}')
SECRET_KEY_BASE=$(RAILS_ENV=production bundle exec rails secret)
OTP_SECRET=$(RAILS_ENV=production bundle exec rails secret)