๐Ÿฐ reBe Realm Wizard

Deploy Billy's Story - No Server Required!

๐ŸŽ‰

Welcome!

This wizard helps you share Billy Hearn's materials science story with the world.

No installations needed! Just this HTML file and your web browser.

We'll create simple copy-paste commands that you can run in your Terminal.

โœ…
Billy's story is ready
Running at http://localhost:8080
๐ŸŒ
We'll make it accessible worldwide
At https://rebe.life/realm=safeharbour
๐Ÿ“
You'll copy and paste
Simple commands - no coding required
1

Get Cloudflare Credentials

First, we need to get some information from Cloudflare (it's free!).

๐Ÿ“‚ Open Cloudflare โ†’
๐Ÿ“‹ Follow these steps:
  1. Click "Create Token" button
  2. Click "Create Custom Token"
  3. Name it: "reBe Realm Routing"
  4. Set permissions:
    • Account โ†’ Workers KV Storage โ†’ Edit
    • Account โ†’ Workers Scripts โ†’ Edit
    • Zone โ†’ Workers Routes โ†’ Edit
  5. Zone Resources: Include โ†’ Specific zone โ†’ rebe.life
  6. Click "Create Token"
  7. Copy the token (you won't see it again!)
Starts with something like "abc123..."
2

Get Account & Zone IDs

Now we need two ID numbers from your Cloudflare account.

๐Ÿ“‚ Open Cloudflare Dashboard โ†’
๐Ÿ“‹ How to find them:
  1. Click the blue button above
  2. Look at the right sidebar
  3. Find and copy "Account ID"
  4. Now click on the "rebe.life" domain
  5. Scroll down on the right side
  6. Find and copy "Zone ID" (in API section)
3

Get Firewall Credentials

Your firewall protects Billy's story. Let's get the keys to configure it.

๐Ÿ“‚ Open Firewall โ†’
๐Ÿ“‹ How to create API credentials:
  1. Click the blue button above
  2. Login with your admin username and password
  3. Go to: System โ†’ Access โ†’ Users
  4. Find your username in the list
  5. Click the pencil icon (edit)
  6. Scroll down to "API keys" section
  7. Click the "+" button
  8. Copy both the Key and Secret
  9. Click "Save"
4

Create Configuration

Great! Now I'll generate the configuration file with your credentials.

โœ… All credentials collected!
Click "Generate Files" below to create your .env configuration.
5

Save Configuration File

Copy the content below and save it as .env in your rebe-realms folder.

โš ๏ธ Important: This file contains your private credentials. Keep it safe!

        
๐Ÿ’พ How to save:
  1. Click the "Copy" button above
  2. Open Terminal
  3. Run: cd /Users/mnichols/Development/rebe/rebe-realms
  4. Run: nano .env
  5. Paste the content (Cmd+V)
  6. Press Ctrl+X, then Y, then Enter to save
6

Run Deployment

Now copy and run these commands in your Terminal to deploy everything!

๐Ÿ“ Step 1: Initialize Docker Swarm
docker swarm init --advertise-addr 10.20.31.195
๐Ÿ“ Step 2: Run the Deployment Script
cd /Users/mnichols/Development/rebe/rebe-realms
node deploy-complete-stack.js
โœจ What will happen:
  • Deploy Cloudflare Worker (edge routing)
  • Configure OPNsense firewall rules
  • Register safeharbour realm
  • Test end-to-end routing

Time: About 2-3 minutes
๐ŸŽ‰

Success!

Billy's story is now live and accessible worldwide!

๐ŸŒ Share this URL with Billy and family:
https://rebe.life/realm=safeharbour,thing=mnichols/stories/matscience
๐Ÿš€ Open Billy's Story โ†’
โœ…
Cloudflare routing active
Global edge network routing visitors
โœ…
Firewall configured
Secure access from Cloudflare only
โœ…
Realm registered
safeharbour is online and monitored
๐Ÿ’ก What visitors will experience:
  • ๐ŸŒ 3D metallic sphere animation
  • ๐Ÿ”Š Voice narration about materials science
  • ๐Ÿ“Š Interactive research panels
  • ๐Ÿงช 25 conceptual resonance domains
  • ๐Ÿ’ฐ Family financial scenarios to 2065
  • ๐Ÿ”ฌ Five new research horizons