File tree Expand file tree Collapse file tree 8 files changed +531
-428
lines changed Expand file tree Collapse file tree 8 files changed +531
-428
lines changed Original file line number Diff line number Diff line change 4
4
"private" : true ,
5
5
"scripts" : {
6
6
"dev" : " next dev --port 3001" ,
7
- "dev:secrets:pull" : " AWS_PROFILE=supabase-dev node internals/ getSecrets.js" ,
7
+ "dev:secrets:pull" : " AWS_PROFILE=supabase-dev node ../../scripts/ getSecrets.js -n local/docs " ,
8
8
"build" : " next build" ,
9
9
"build:analyze" : " ANALYZE=true next build" ,
10
10
"start" : " next start" ,
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 4
4
"private" : true ,
5
5
"scripts" : {
6
6
"dev" : " next dev -p 8082" ,
7
- "dev:secrets:pull" : " AWS_PROFILE=supabase-dev node internals/ getSecrets.js" ,
7
+ "dev:secrets:pull" : " AWS_PROFILE=supabase-dev node ../../scripts/ getSecrets.js -n local/studio " ,
8
8
"build" : " next build" ,
9
9
"start" : " next start" ,
10
10
"lint" : " next lint" ,
Original file line number Diff line number Diff line change 4
4
5
5
# Replace this URL with the URL of your blog app
6
6
7
- NEXT_PUBLIC_URL = " https://localhost:3000"
8
- NEXT_PUBLIC_DOCS_URL = " http://localhost:3005"
9
- NEXT_PUBLIC_STUDIO_URL = " https://localhost:8082"
10
- NEXT_PUBLIC_REFERENCE_DOCS_URL = " https://localhost:3010"
11
- NEXT_PUBLIC_SITE_ORIGIN = http://localhost:3000
7
+ NEXT_PUBLIC_URL = " http://localhost:3000"
8
+ NEXT_PUBLIC_DOCS_URL = " http://localhost:3001"
9
+ NEXT_PUBLIC_STUDIO_URL = " http://localhost:8082"
10
+ NEXT_PUBLIC_REFERENCE_DOCS_URL = " http://localhost:3010"
Original file line number Diff line number Diff line change 3
3
## Overview
4
4
5
5
Refer to the [ Development Guide] ( ../../DEVELOPERS.md ) to learn how to run this site locally.
6
+
7
+ > [ !NOTE]
8
+ > ** Supabase internal use:** To develop on Studio locally you can pull an appropriate .env file using
9
+
10
+ ``` bash
11
+ npm i # install dependencies
12
+ npm run dev:secrets:pull # Supabase internal use
13
+ ```
Original file line number Diff line number Diff line change 5
5
"private" : true ,
6
6
"scripts" : {
7
7
"dev" : " next --port 3000" ,
8
+ "dev:secrets:pull" : " AWS_PROFILE=supabase-dev node ../../scripts/getSecrets.js -n local/www" ,
8
9
"build" : " next build" ,
9
10
"export" : " next export" ,
10
11
"start" : " next start" ,
65
66
"yup" : " ^0.32.11"
66
67
},
67
68
"devDependencies" : {
69
+ "@aws-sdk/client-secrets-manager" : " ^3.468.0" ,
68
70
"@types/classnames" : " ^2.3.1" ,
69
71
"@types/dat.gui" : " ^0.7.10" ,
70
72
"@types/mdx-js__react" : " ^1.5.6" ,
You can’t perform that action at this time.
0 commit comments