Skip to content

Commit

Permalink
Merge pull request #23 from shapeshift/env-setup
Browse files Browse the repository at this point in the history
chore: setup env vars
  • Loading branch information
0xApotheosis authored Jan 9, 2024
2 parents fa79ae2 + 763c701 commit 0dad10d
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 4 deletions.
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

0 comments on commit 0dad10d

Please sign in to comment.