Skip to content

Commit

Permalink
Fix for #25
Browse files Browse the repository at this point in the history
Smoother setup for initial run of local dev env.
  • Loading branch information
scosman committed Mar 11, 2024
1 parent 3c0fc26 commit c65e219
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,12 @@ To get started, fork and run this project!
```
## First fork the project on Github
git pull [Your Fork]
cd CMSaasStarter ## or your fork name if different
npm install
## Run the project locally in dev mode
npm run dev --
## Create an env file. You'll replace the values in this in later steps.
cp local_env_template .env.local
## Run the project locally in dev mode, and launch the browser
npm run dev -- --open
```

### Developer Environment
Expand Down
5 changes: 5 additions & 0 deletions local_env_template
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
PUBLIC_SUPABASE_URL='https://REPLACE_ME.supabase.co'
PUBLIC_SUPABASE_ANON_KEY='REPLACE_ME'
PRIVATE_SUPABASE_SERVICE_ROLE='REPLACE_ME'
PRIVATE_STRIPE_API_KEY='REPLACE_ME'
PUBLIC_SITE_NAME='REPLACE_ME'

0 comments on commit c65e219

Please sign in to comment.