Notra Logo
Notra

Deploy

Vercel Deployment Steps

1 Start Deployment

Click https://vercel.com/new/clone?repository-url=https://github.com/Levix0501/notra&env=NEXT_PUBLIC_LOCALE,AUTH_SECRET,DATABASE_URL,DIRECT_URL,SUPABASE_URL,SUPABASE_API_KEY&project-name=notra&repository-name=notra to start deployment.

iShot_2025-09-19_13.41.49

Log in to Vercel, it is recommended to log in with a Github account.

iShot_2025-09-19_13.43.50

Click Create

iShot_2025-09-19_13.45.27

2 Environment Variables

2.1 NEXT_PUBLIC_LOCALE (Optional)

Used to set the website language, options: en, zh

iShot_2025-09-19_14.59.48

Currently supported languages: English (en), Simplified Chinese (zh).

2.2 AUTH_SECRET (Required)

AUTH_SECRET is a core security key in Auth.js.It is mainly used for encryption and signing, ensuring user identity and session security.

iShot_2025-09-19_15.03.32

You can generate it online using an existing third-party tool:

  1. Visit: https://jwtsecrets.com/#generator

  2. Click Generate

  3. Copy the key

iShot_2025-09-19_14.39.39

2.3 Other Environment Variables

DATABASE_URL, DIRECT_URL, SUPABASE_URL, and SUPABASE_API_KEY — the usage and retrieval methods of these four environment variables will be introduced in the next section.

3 Supabase

Supabase provides a PostgreSQL-based database and object storage (used to store images and other files), making it convenient to quickly build the core data and file management capabilities of your application.

3.1 Create a Project

Visit: https://supabase.com/

iShot_2025-09-19_15.15.55

Click Start your project

iShot_2025-09-19_15.17.10

Log in to Supabase (recommended to log in with a Github account). After logging in, visit: https://supabase.com/dashboard/new

iShot_2025-09-19_15.22.45

Click Create organization

iShot_2025-09-19_15.28.04

Follow these steps:

  1. Enter Project name

  2. Click Generate a password to generate a database password

  3. Click Copy to copy the password and save it locally for later use

  4. Choose a region (recommended: West US (North California))

  5. Click Create new project

3.2 DATABASE_URL & DIRECT_URL

iShot_2025-09-19_15.35.04

Click Connect

iShot_2025-09-19_15.54.27

In the pop-up dialog, select ORMs, then replace [YOUR-PASSWORD] in DATABASE_URL and DIRECT_URL with your database password. Enter them into the Vercel environment variables.

iShot_2025-09-19_15.59.11

3.3 SUPABASE_URL

Click Project Settings

iShot_2025-09-19_15.49.01

Click Data API

iShot_2025-09-19_15.50.28

Copy Project URL

iShot_2025-09-19_15.52.12

Enter it into SUPABASE_URL

iShot_2025-09-19_16.05.16

3.4 SUPABASE_API_KEY

iShot_2025-09-19_16.11.47
  1. Click API Keys

  2. Select API Keys

  3. Click Create new API keys

iShot_2025-09-19_16.13.58

In the pop-up dialog, click Create keys

iShot_2025-09-19_16.15.06

Copy the API KEY

iShot_2025-09-19_16.16.19

Enter it into SUPABASE_API_KEY

4 Deployment

iShot_2025-09-19_16.20.08

After filling in all the environment variables as described above, click Deploy

iShot_2025-09-19_16.34.54

After a successful deployment, click Continue to Dashboard.

iShot_2025-09-19_16.35.59

Visit the domain automatically assigned by Vercel to access your personal website.
You can also set up a custom domain.