-
Notifications
You must be signed in to change notification settings - Fork 210
Expand file tree
/
Copy path.env.example
More file actions
74 lines (59 loc) · 1.98 KB
/
Copy path.env.example
File metadata and controls
74 lines (59 loc) · 1.98 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
# Database Configuration
# The app auto-detects the database type based on the DATABASE_URL
# For Local MySQL (recommended for development):
#
# macOS:
# brew install mysql
# brew services start mysql
# mysql -u root -e "CREATE DATABASE earn_db"
#
# Windows:
# Download MySQL Installer: https://dev.mysql.com/downloads/installer/
# OR: choco install mysql (using Chocolatey)
# OR: winget install Oracle.MySQL (using winget)
# net start MySQL
# mysql -u root -p -e "CREATE DATABASE earn_db"
#
# Linux (Ubuntu/Debian):
# sudo apt update && sudo apt install mysql-server
# sudo systemctl start mysql
# sudo mysql -e "CREATE DATABASE earn_db"
#
# Linux (Fedora/RHEL/CentOS):
# sudo dnf install mysql-server
# sudo systemctl start mysqld
# sudo mysql -e "CREATE DATABASE earn_db"
# Set DATABASE_URL:
# macOS/Linux (no password): mysql://root@localhost:3306/earn_db
# Windows (with password): mysql://root:YOUR_PASSWORD@localhost:3306/earn_db
DATABASE_URL='mysql://root@localhost:3306/earn_db'
# For PlanetScale (production):
# The app auto-detects PlanetScale URLs (contains '.psdb.cloud')
# DATABASE_URL='mysql://user:pass@aws.connect.psdb.cloud/database?sslaccept=strict'
# For Cloud MySQL (Railway, Render, etc.):
# Use the connection string provided by your cloud provider
# DATABASE_URL='mysql://user:pass@host:port/database'
# RESEND SETUP (required)
RESEND_API_KEY= ''
# PRIVY SETUP (required)
NEXT_PUBLIC_PRIVY_APP_ID=''
PRIVY_APP_SECRET=''
PRIVY_VERIFICATION_KEY="-----BEGIN PUBLIC KEY-----
# add full verification key including begin and end salutes
-----END PUBLIC KEY-----"
# CLOUDINARY SETUP (required)
CLOUDINARY_API_KEY=''
CLOUDINARY_CLOUD_NAME=''
CLOUDINARY_API_SECRET=''
NEXT_PUBLIC_SITE_URL='http://localhost:3000/'
IS_LOCAL='true'
# RPC WS URL (required)
NEXT_PUBLIC_RPC_WS_URL=""
# Optional env below for more functionality
# transactions
FEEPAYER_PRIVATE_KEY=""
NEXT_PUBLIC_FEEPAYER=""
# auto generate listing
OPENROUTER_API_KEY=""
# Jupiter API KEY
JUPITER_API_KEY=""