Skip to content

Commit a160c29

Browse files
rcourtmanClaude
and
Claude
committed
fix: streamline Pulse installation for web-based configuration
- Remove all interactive prompts during installation - Remove .env.example copying (no longer needed) - Remove configuration messages (handled by web UI) - Add tar warning suppression (2>/dev/null) - Update JSON note to reflect web-based setup wizard Pulse now features a complete web-based configuration system with automatic setup detection, making manual .env configuration obsolete. The new workflow: 1. Script installs Pulse without any user interaction 2. Service starts automatically 3. User navigates to the provided URL 4. Pulse shows setup wizard for configuration 5. No SSH or manual file editing required This provides the ideal community script experience - completely hands-off installation with configuration through the web interface. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 4fba20d commit a160c29

File tree

2 files changed

+7
-17
lines changed

2 files changed

+7
-17
lines changed

frontend/public/json/pulse.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@
3535
{
3636
"text": "Create Proxmox-API-Token first: `https://github.com/rcourtman/Pulse?tab=readme-ov-file#creating-a-proxmox-api-token`",
3737
"type": "Info"
38+
},
39+
{
40+
"text": "After installation, access the web interface to configure your Proxmox connection details through the built-in setup wizard",
41+
"type": "Info"
3842
}
3943
]
4044
}

install/pulse-install.sh

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -34,30 +34,15 @@ RELEASE=$(curl -fsSL https://api.github.com/repos/rcourtman/Pulse/releases/lates
3434
temp_file=$(mktemp)
3535
mkdir -p /opt/pulse-proxmox
3636
curl -fsSL "https://github.com/rcourtman/Pulse/releases/download/v${RELEASE}/pulse-v${RELEASE}.tar.gz" -o "$temp_file"
37-
tar zxf "$temp_file" --strip-components=1 -C /opt/pulse-proxmox
37+
tar zxf "$temp_file" --strip-components=1 -C /opt/pulse-proxmox 2>/dev/null
3838
echo "${RELEASE}" >/opt/${APPLICATION}_version.txt
3939
msg_ok "Installed Pulse"
4040

41-
read -rp "${TAB3}Proxmox Host (z. B. https://proxmox.example.com:8006): " PROXMOX_HOST
42-
read -rp "${TAB3}Proxmox Token ID (z. B. user@pam!mytoken): " PROXMOX_TOKEN_ID
43-
read -rp "${TAB3}Proxmox Token Secret: " PROXMOX_TOKEN_SECRET
44-
read -rp "${TAB3}Port (default: 7655): " PORT
45-
PORT="${PORT:-7655}"
46-
47-
msg_info "Creating .env file"
48-
cat <<EOF >/opt/pulse-proxmox/.env
49-
PROXMOX_HOST=${PROXMOX_HOST}
50-
PROXMOX_TOKEN_ID=${PROXMOX_TOKEN_ID}
51-
PROXMOX_TOKEN_SECRET=${PROXMOX_TOKEN_SECRET}
52-
PORT=${PORT}
53-
EOF
54-
msg_ok "Created .env file"
5541

5642
msg_info "Setting permissions for /opt/pulse-proxmox..."
5743
chown -R pulse:pulse "/opt/pulse-proxmox"
5844
find "/opt/pulse-proxmox" -type d -exec chmod 755 {} \;
5945
find "/opt/pulse-proxmox" -type f -exec chmod 644 {} \;
60-
chmod 600 /opt/pulse-proxmox/.env
6146
msg_ok "Set permissions."
6247

6348
msg_info "Creating Service"
@@ -87,8 +72,9 @@ msg_ok "Created Service"
8772
motd_ssh
8873
customize
8974

75+
9076
msg_info "Cleaning up"
9177
rm -f "$temp_file"
9278
$STD apt-get -y autoremove
9379
$STD apt-get -y autoclean
94-
msg_ok "Cleaned"
80+
msg_ok "Cleaned"

0 commit comments

Comments
 (0)