Private
Public Access
1
0

Add license key gate, migrate marketing site to separate repo

- install.sh: prompt for license key as first step, validate against
  makeyourown.website/api/validate before any system changes
- setup.sh: secondary key check (format-only if .license-key exists,
  server validation if missing)
- Remove website/ directory — marketing site, keyserver, and deploy
  scripts migrated to the websites repo (git.constantprojects.xyz/
  tankadmin/websites.git) for independent deployment
- Update CLAUDE.md, guide.md, .gitignore to reflect migration

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
constantprojects
2026-02-24 12:50:24 -07:00
parent 1750efeb05
commit 0bef817f7b
19 changed files with 119 additions and 2211 deletions

View File

@@ -192,12 +192,13 @@ curl -fsSL https://git.constantprojects.xyz/tankadmin/websitebox/raw/branch/main
This one command does everything needed to prepare your server:
1. **Updates your system** — installs the latest security patches
2. **Secures your server**sets up a firewall ([UFW](https://wiki.ubuntu.com/UncomplicatedFirewall)), brute-force protection ([Fail2ban](https://www.fail2ban.org/)), and automatic security updates ([Unattended Upgrades](https://wiki.debian.org/UnattendedUpgrades))
3. **Installs Docker** — the software that packages and runs your website (think of it as a container system that keeps everything organized and isolated)
4. **Configures log rotation** — prevents Docker logs from filling up your disk over time
5. **Downloads WebsiteBox** — the project files that define your website setup
6. **Starts the setup wizard** — an interactive questionnaire to configure your site (covered in the next step)
1. **Verifies your license key** — confirms your purchase with the WebsiteBox server
2. **Updates your system**installs the latest security patches
3. **Secures your server** — sets up a firewall ([UFW](https://wiki.ubuntu.com/UncomplicatedFirewall)), brute-force protection ([Fail2ban](https://www.fail2ban.org/)), and automatic security updates ([Unattended Upgrades](https://wiki.debian.org/UnattendedUpgrades))
4. **Installs Docker** — the software that packages and runs your website (think of it as a container system that keeps everything organized and isolated)
5. **Configures log rotation** — prevents Docker logs from filling up your disk over time
6. **Downloads WebsiteBox** — the project files that define your website setup
7. **Starts the setup wizard** — an interactive questionnaire to configure your site (covered in the next step)
You'll see output scrolling by as each step completes. Here's roughly what to expect:
@@ -206,6 +207,17 @@ You'll see output scrolling by as each step completes. Here's roughly what to ex
WebsiteBox Installer
═══════════════════════════════════════════════════════════
───────────────────────────────────────────────────────────
License Key
───────────────────────────────────────────────────────────
▸ Enter your WebsiteBox license key
You received this key in your purchase confirmation email.
Format: WBOX-XXXX-XXXX-XXXX-XXXX
License key: WBOX-A3F7-KN9P-QR4X-8WTB
▸ Verifying license key...
✓ License key verified and activated.
Detected: ubuntu 22.04
───────────────────────────────────────────────────────────