Skip to content

Commit

Permalink
chore(examples): Update checkout demo to 0.10.x (#1184)
Browse files Browse the repository at this point in the history
Updates the checkout demo to use the most recent electric (and also
updates some other dependencies and removes unused code and deps)

Will follow up with a deploy.
  • Loading branch information
msfstef authored Apr 23, 2024
1 parent 244033f commit 256a0cb
Show file tree
Hide file tree
Showing 10 changed files with 3,157 additions and 1,555 deletions.
2 changes: 1 addition & 1 deletion examples/checkout/backend/.env
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,6 @@ GOOGLE_PROJECT_NUMBER=GOOGLE_PROJECT_NUMBER
# ElectricSQL - Configuration for the Electric sync service
############

ELECTRIC_IMAGE=electricsql/electric:0.8
ELECTRIC_IMAGE=electricsql/electric:0.10
ELECTRIC_PORT=5133
ELECTRIC_PROXY_PORT=65432
2 changes: 1 addition & 1 deletion examples/checkout/backend/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ services:

electric:
container_name: electric
image: ${ELECTRIC_IMAGE:-electricsql/electric:0.8}
image: ${ELECTRIC_IMAGE:-electricsql/electric:0.10}
init: true
environment:
DATABASE_URL: postgresql://supabase_admin:${POSTGRES_PASSWORD}@${POSTGRES_HOST}:${POSTGRES_PORT}/${POSTGRES_DB}
Expand Down
24 changes: 0 additions & 24 deletions examples/checkout/copy-wasm-files.js

This file was deleted.

43 changes: 0 additions & 43 deletions examples/checkout/db/migrate.js

This file was deleted.

2 changes: 1 addition & 1 deletion examples/checkout/electric/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ name: checkout-hosted-supabase
services:
electric:
container_name: electric-checkout-demo
image: electricsql/electric:0.8
image: electricsql/electric:0.10
init: true
environment:
DATABASE_URL: postgresql://postgres:[email protected]:5432/postgres
Expand Down
Loading

0 comments on commit 256a0cb

Please sign in to comment.