- 'websitebox up' now automatically runs 'docker compose up -d'
- 'websitebox logs' now automatically runs 'docker compose logs -f'
- All other commands pass through unchanged
- Added 'source ~/.bashrc' instruction at end of installer so the
command works immediately without logout/login
- Updated tips and setup summary to show simplified commands
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Installs a shell function in .bashrc/.zshrc that auto-cds into the
project directory, so users can run 'websitebox up -d' from anywhere
instead of remembering to cd first. Shows usage examples in the
installer's closing output. Setup summary updated to use the shortcut.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The exec < /dev/tty approach silently killed the script under set -e
if /dev/tty wasn't accessible. Replace with surgical redirects on
just the interactive reads and setup.sh invocation.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
When piped through curl, stdin is the download stream, not the
terminal. This caused setup wizard prompts to read empty input
(the 'rogue enter' bug). Fix: reopen stdin from /dev/tty before
any interactive prompts.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Color system: green checkmarks for success, orange bold for info/hints,
cyan section headers, bold white title headers, yellow warnings, red
errors. Rolling progress preview lines shown in dim. UFW "Rules updated"
noise suppressed.
Updated all repository URLs from github.com/websitebox/websitebox to
git.constantprojects.xyz/tankadmin/websitebox across install.sh,
guide.md, and README.md.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Long-running apt commands now show a live 4-line preview window that
overwrites in place using terminal escape codes. Users see what's
happening without the screen flooding with package manager output.
Preview auto-clears when each step completes.
Also fixes: duplicate else branch in Docker if/else block,
adds DEBIAN_FRONTEND=noninteractive and --force-confold to prevent
interactive dpkg prompts (sshd_config, etc).
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Adds --force-confold to prevent interactive dpkg prompts (e.g.
sshd_config) that would block unattended installation.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Each major install step now shows what it does and how long to expect:
- System update: 2-10 min on fresh servers
- Security tools: under a minute
- Docker: 1-3 min (largest download)
- Clone: a few seconds
Updated guide.md terminal output to match.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Move firewall (UFW), fail2ban, auto-updates, and Docker log rotation
from manual guide steps into install.sh automation. Update guide.md
to describe the automated process instead of manual commands.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>