forked from midday-ai/midday
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request midday-ai#165 from midday-ai/feature/local-develop…
…ment-v1 Documentation
- Loading branch information
Showing
7 changed files
with
199 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: CI | ||
env: | ||
GOOGLE_CLIENT_ID: ${{ secrets.GOOGLE_CLIENT_ID }} | ||
GOOGLE_SECRET: ${{ secrets.GOOGLE_SECRET_WEBSITE }} | ||
|
||
# on: | ||
# pull_request: | ||
# workflow_dispatch: | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
working-directory: apps/api | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: supabase/setup-cli@v1 | ||
with: | ||
version: latest | ||
- name: Start Supabase local development setup | ||
run: supabase db start | ||
- name: Verify generated types are checked in | ||
run: | | ||
supabase gen types typescript --local > types.gen.ts | ||
if ! git diff --ignore-space-at-eol --exit-code --quiet types.gen.ts; then | ||
echo "Detected uncommitted changes after build. See status below:" | ||
git diff | ||
exit 1 | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,36 @@ | ||
project_id = "pytddvqiozwrhfbwqazp" | ||
|
||
[api] | ||
enabled = true | ||
port = 54321 | ||
schemas = ["public", "storage"] | ||
extra_search_path = ["public", "extensions"] | ||
max_rows = 1000000 | ||
|
||
[auth] | ||
site_url = "http://localhost:3001" | ||
additional_redirect_urls = ["https://localhost:3001", "http://localhost:54321/auth/v1/callback"] | ||
jwt_expiry = 36000 | ||
|
||
[db] | ||
port = 54322 | ||
|
||
[studio] | ||
port = 54323 | ||
|
||
[auth.external.google] | ||
enabled = true | ||
client_id = "env(GOOGLE_CLIENT_ID)" | ||
secret = "env(GOOGLE_SECRET)" | ||
secret = "env(GOOGLE_SECRET)" | ||
redirect_uri = "http://localhost:54321/auth/v1/callback" | ||
|
||
[auth.email] | ||
double_confirm_changes = true | ||
enable_confirmations = true | ||
enable_signup = true | ||
|
||
[analytics] | ||
enabled = true | ||
port = 54327 | ||
vector_port = 54328 | ||
backend = "postgres" |
5 changes: 0 additions & 5 deletions
5
apps/api/supabase/migrations/20240617143056_remote_schema.sql
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,7 @@ | |
"test": "turbo test --parallel", | ||
"start:dashboard": "turbo start --filter=@midday/dashboard", | ||
"start:website": "turbo start --filter=@midday/website", | ||
"dev:api": "turbo dev --filter=@midday/api", | ||
"dev:dashboard": "turbo dev --filter=@midday/dashboard", | ||
"dev:website": "turbo dev --filter=@midday/website ", | ||
"dev:desktop": "turbo dev --filter=@midday/desktop", | ||
|
@@ -24,7 +25,7 @@ | |
"turbo": "2.0.4", | ||
"typescript": "^5.5.2" | ||
}, | ||
"packageManager": "[email protected].13", | ||
"packageManager": "[email protected].16", | ||
"resolutions": { | ||
"jackspeak": "2.1.1" | ||
} | ||
|