-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.local.example
More file actions
29 lines (26 loc) · 1020 Bytes
/
.env.local.example
File metadata and controls
29 lines (26 loc) · 1020 Bytes
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
# =============================================================================
# Local Development Setup
# =============================================================================
#
# 1. Start local Supabase:
# $ supabase start
#
# 2. Get credentials:
# $ supabase status -o env
#
# 3. Create GitHub OAuth App:
# - Go to: https://github.com/settings/developers
# - Application name: GitBox Local Dev
# - Homepage URL: http://localhost:3008
# - Authorization callback URL: http://127.0.0.1:54321/auth/v1/callback
#
# =============================================================================
# Supabase LOCAL (from `supabase status -o env`)
NEXT_PUBLIC_SUPABASE_URL=http://127.0.0.1:54321
NEXT_PUBLIC_SUPABASE_ANON_KEY=<from_supabase_status>
SUPABASE_SERVICE_ROLE_KEY=<from_supabase_status>
# GitHub OAuth (from your GitHub OAuth App)
GITHUB_CLIENT_ID=<your_github_oauth_client_id>
GITHUB_CLIENT_SECRET=<your_github_oauth_client_secret>
# Site URL
NEXT_PUBLIC_SITE_URL=http://localhost:3008