Skip to content

Commit df41a75

Browse files
committed
remove env prod
1 parent 6f09204 commit df41a75

File tree

3 files changed

+21
-4
lines changed

3 files changed

+21
-4
lines changed

.env.example

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# PLACE YOUR SUPABASE PROJECT URL AND ANON KEY HERE
2+
NEXT_PUBLIC_SUPABASE_URL=xxx
3+
NEXT_PUBLIC_SUPABASE_ANON_KEY=xxxx
4+
NEXT_PUBLIC_WEBSITE_URL=http://localhost:3000
5+
6+
# PLACE YOUR POSTGRES DATABBASE UEL AND PASSWORD HERE
7+
DATABASE_URL=xxxxx
8+
9+
# PLACE YOUR GOOGLE CLIENT ID AND SECRET HERE TO ENABLE OAUTH SOCIAL LOGIN (https://supabase.com/docs/guides/auth/social-login/auth-google)
10+
GOOGLE_OAUTH_CLIENT_ID=xxxx
11+
GOOGLE_OAUTH_CLIENT_SECRET=xxxx
12+
13+
# Place GITHUB client id and secret to easily enable github oauth login
14+
GITHUB_OAUTH_CLIENT_ID=xxxxx
15+
GITHUB_OAUTH_CLIENT_SECRET=xxxxx
16+
# STRIPE PRICING TABLE PUBLIC KEY AND API
17+
STRIPE_PRICING_TABLE_ID=xxxxx
18+
STRIPE_PUBLISHABLE_KEY=pk_test_xxxxx
19+
STRIPE_SECRET_KEY=sk_test_xxxx

.env.production

-2
This file was deleted.

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ You can easily set up social auth with this template. First navigate to google c
3939

4040
### Setup Stripe
4141

42-
In order to collect payments and setup subscriptions for your users, we will be making use of [Stripe Checkout](https://stripe.com/payments/checkout) and [Stripe Pricing Tables](https://docs.stripe.com/payments/checkout/pricing-table) and [Stripe Webhooks]()
42+
In order to collect payments and setup subscriptions for your users, we will be making use of [Stripe Checkout](https://stripe.com/payments/checkout) and [Stripe Pricing Tables](https://docs.stripe.com/payments/checkout/pricing-table) and [Stripe Webhooks](https://docs.stripe.com/webhooks)
4343

4444
1. [Register for Stripe](https://dashboard.stripe.com/register)
45-
2. get your `STRIPE_SECRET_KEY` key and add it to `.env.local`. Stripe has both a Test and Production API key. Once you verify your business on Stripe, you will be able to get access to production mode. But until then, we can use [Stripe's Test Mode](https://docs.stripe.com/test-mode) to build our app
45+
2. get your `STRIPE_SECRET_KEY` key and add it to `.env.local`. Stripe has both a Test and Production API key. Once you verify your business on Stripe, you will be able to get access to production mode in `.env.production`. But until then, we can use [Stripe's Test Mode](https://docs.stripe.com/test-mode) to build our app
4646

4747
![image](https://github.com/user-attachments/assets/01da4beb-ae1d-45df-9de8-ca5e2b2c3470)
4848

0 commit comments

Comments
 (0)