github.com/Redstoneguy129/cli@v0.0.0-20230211220159-15dca4e91917/docs/templates/examples.yaml (about) 1 supabase-init: 2 - id: basic-usage 3 name: Basic usage 4 code: supabase init 5 response: Finished supabase init. 6 - id: from-workdir 7 name: Initialize from an existing directory 8 code: supabase init --workdir . 9 response: Finished supabase init. 10 supabase-login: 11 - id: basic-usage 12 name: Basic usage 13 code: supabase login 14 response: | 15 You can generate an access token from https://app.supabase.com/account/tokens 16 Enter your access token: sbp_**************************************** 17 Finished supabase login. 18 supabase-link: 19 - id: basic-usage 20 name: Basic usage 21 code: supabase link --project-ref ******************** 22 response: | 23 Enter your database password: ******** 24 Finished supabase link. 25 - id: without-password 26 name: Link without database password 27 code: supabase link --project-ref ******************** <<< "" 28 response: | 29 Enter your database password: 30 Finished supabase link. 31 supabase-start: 32 - id: basic-usage 33 name: Basic usage 34 code: supabase start 35 response: | 36 Applying migration 20220810154536_employee.sql... 37 Seeding data supabase/seed.sql... 38 Started supabase local development setup. 39 - id: without-studio 40 name: Start containers without studio 41 code: supabase start -x studio 42 response: | 43 Excluding container: supabase/studio:20221214-4eecc99 44 Seeding data supabase/seed.sql... 45 Started supabase local development setup. 46 - id: ignore-health-check 47 name: Ignore service health checks 48 code: supabase start --ignore-health-check 49 response: | 50 Seeding data supabase/seed.sql... 51 service not healthy: [supabase_storage_cli] 52 Started supabase local development setup. 53 supabase-stop: 54 - id: basic-usage 55 name: Basic usage 56 code: supabase stop 57 response: | 58 Stopped supabase local development setup. 59 - id: with-backup 60 name: Backup local database before stopping 61 code: supabase stop --backup 62 response: | 63 Postgres database saved to volume: supabase_db_cli 64 Storage directory saved to volume: supabase_storage_cli 65 Stopped supabase local development setup. 66 supabase-status: 67 - id: basic-usage 68 name: Basic usage 69 code: supabase status 70 response: | 71 supabase local development setup is running. 72 73 API URL: http://localhost:54321 74 DB URL: postgresql://postgres:postgres@localhost:54322/postgres 75 Studio URL: http://localhost:54323 76 Inbucket URL: http://localhost:54324 77 JWT secret: super-secret-jwt-token-with-at-least-32-characters-long 78 anon key: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24iLCJleHAiOjE5ODM4MTI5OTZ9.CRXP1A7WOeoJeXxjNni43kdQwgnWNReilDMblYTn_I0 79 service_role key: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6InNlcnZpY2Vfcm9sZSIsImV4cCI6MTk4MzgxMjk5Nn0.EGIM96RAZx35lJzdJsyH-qQwv8Hdp7fsn3W0YpN81IU 80 - id: output-env 81 name: Format status as environment variables 82 code: supabase status -o env 83 response: | 84 ANON_KEY="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24iLCJleHAiOjE5ODM4MTI5OTZ9.CRXP1A7WOeoJeXxjNni43kdQwgnWNReilDMblYTn_I0" 85 API_URL="http://localhost:54321" 86 DB_URL="postgresql://postgres:postgres@localhost:54322/postgres" 87 INBUCKET_URL="http://localhost:54324" 88 JWT_SECRET="super-secret-jwt-token-with-at-least-32-characters-long" 89 SERVICE_ROLE_KEY="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6InNlcnZpY2Vfcm9sZSIsImV4cCI6MTk4MzgxMjk5Nn0.EGIM96RAZx35lJzdJsyH-qQwv8Hdp7fsn3W0YpN81IU" 90 STUDIO_URL="http://localhost:54323" 91 - id: output-custom-name 92 name: Customize the names of exported variables 93 code: supabase status -o env --override-name auth.anon_key=SUPABASE_ANON_KEY --override-name auth.service_role_key=SUPABASE_SERVICE_KEY 94 response: | 95 Stopped services: [supabase_inbucket_cli supabase_rest_cli supabase_studio_cli] 96 SUPABASE_ANON_KEY="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24iLCJleHAiOjE5ODM4MTI5OTZ9.CRXP1A7WOeoJeXxjNni43kdQwgnWNReilDMblYTn_I0" 97 DB_URL="postgresql://postgres:postgres@localhost:54322/postgres" 98 JWT_SECRET="super-secret-jwt-token-with-at-least-32-characters-long" 99 SUPABASE_SERVICE_KEY="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6InNlcnZpY2Vfcm9sZSIsImV4cCI6MTk4MzgxMjk5Nn0.EGIM96RAZx35lJzdJsyH-qQwv8Hdp7fsn3W0YpN81IU"