Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: setup env vars #23

Merged
merged 1 commit into from
Jan 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
VITE_FOO=bar
VITE_FEATURE_MIXPANEL=true
2 changes: 0 additions & 2 deletions .env.example → .env.development
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
VITE_FOO=bar
VITE_FEATURE_MIXPANEL=true
VITE_MIXPANEL_TOKEN=faf859177254ec1a02752132c2f73954
1 change: 1 addition & 0 deletions .env.production
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
VITE_MIXPANEL_TOKEN=15700f378e38dc60c9c73f397115a099
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
# Getting started

You may need to add sensitive env vars locally. This can be done by copying .env.example to .env.local and replacing with your own values
Install packages:

- `cp .env.example .env.local`
`yarn`

Run the app for development:

`yarn dev`

You may need to add sensitive env vars locally. This can be done by adding `.local` to your env file and replacing with your own values.

# React + TypeScript + Vite

Expand Down