From d689410a4830c736ec113fc425109a2b71615f63 Mon Sep 17 00:00:00 2001 From: Kobie Botha Date: Fri, 14 Nov 2025 15:45:59 -0700 Subject: [PATCH 1/2] deploy on Railway we have an updated Railway template, lets use it --- README.md | 5 ++++- demos/nodejs-postgres-bucket-storage/README.md | 6 +++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5f89283..b91eefe 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,10 @@ This repository contains basic demonstrations in the `demos` folder. - [Node.js (Postgres + Postgres Sync Bucket Storage)](./demos/nodejs-postgres-bucket-storage/README.md) - - This can be started from the repo root with `docker compose -f demos/nodejs-postgres-bucket-storage/docker-compose.yaml up` + [![Deploy on Railway](https://railway.com/button.svg)](https://railway.com/deploy/powersync-starter-postgres?referralCode=kChzwj&utm_medium=github&utm_source=selfhostdemo) + + - This stack can be deployed on Railway using a template + - Allternatively, start this from the repo root with `docker compose -f demos/nodejs-postgres-bucket-storage/docker-compose.yaml up` # Config diff --git a/demos/nodejs-postgres-bucket-storage/README.md b/demos/nodejs-postgres-bucket-storage/README.md index 276b0ef..a8c9aee 100644 --- a/demos/nodejs-postgres-bucket-storage/README.md +++ b/demos/nodejs-postgres-bucket-storage/README.md @@ -4,7 +4,11 @@ This is a demo for using Postgres as the sync bucket storage driver with PowerSy See the Postgres sync bucket storage [docs](https://docs.powersync.com/self-hosting/installation/powersync-service-setup#postgres-storage) for more information. -## Running +## Deploy on Railway + + [![Deploy on Railway](https://railway.com/button.svg)](https://railway.com/deploy/powersync-starter-postgres?referralCode=kChzwj&utm_medium=github&utm_source=selfhostdemo) + +## Running locally The `.env` file contains default configuration for the services. Reference this to connect to any services locally. From 2dabd2095abf73d7ed39495a05ae83a54647e88c Mon Sep 17 00:00:00 2001 From: Kobie Botha Date: Fri, 14 Nov 2025 15:46:04 -0700 Subject: [PATCH 2/2] add .gitignore --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e5bb1c3 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +# macOS resource files +**/.DS_Store \ No newline at end of file