TTorn Deals Setup
ONE-TIME SETUP

Connect your admin dashboard.

You do not need to write code. Follow these steps once. After that, you add accounts, prices, details, and photos from admin.html.

1

Create a free Supabase project

Create a project at Supabase. Save the database password somewhere safe.

Open Supabase ↗
2

Create the database and photo storage

In Supabase, open SQL Editor, create a new query, paste the full script below, and press Run.

3

Create your admin login

  1. Open Authentication → Users in Supabase.
  2. Click Add user and create your email and password.
  3. Disable public user signups in the authentication settings so only your manually created admin can sign in.
4

Generate your connection file

In Supabase, open the project API settings. Copy the Project URL and the browser-safe Publishable key or anon key. Never paste a secret or service-role key here.

Replace assets/config.js in this website folder with the downloaded file.

5

Publish on GitHub Pages

  1. Create a GitHub repository.
  2. Upload every file and folder from this website package.
  3. Open Settings → Pages and publish from the main branch and root folder.
  4. Set the custom domain to TornDeals.me.
  5. Open admin.html, sign in, and add your first account.
Open admin dashboard