Skip to content

Commit 536d56f

Browse files
authored
Deploy on Railway button (#54)
* deploy on Railway we have an updated Railway template, lets use it * add .gitignore
1 parent a93efb4 commit 536d56f

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# macOS resource files
2+
**/.DS_Store

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,10 @@ This repository contains basic demonstrations in the `demos` folder.
3636

3737
- [Node.js (Postgres + Postgres Sync Bucket Storage)](./demos/nodejs-postgres-bucket-storage/README.md)
3838

39-
- This can be started from the repo root with `docker compose -f demos/nodejs-postgres-bucket-storage/docker-compose.yaml up`
39+
[![Deploy on Railway](https://railway.com/button.svg)](https://railway.com/deploy/powersync-starter-postgres?referralCode=kChzwj&utm_medium=github&utm_source=selfhostdemo)
40+
41+
- This stack can be deployed on Railway using a template
42+
- Allternatively, start this from the repo root with `docker compose -f demos/nodejs-postgres-bucket-storage/docker-compose.yaml up`
4043

4144
# Config
4245

demos/nodejs-postgres-bucket-storage/README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@ This is a demo for using Postgres as the sync bucket storage driver with PowerSy
44

55
See the Postgres sync bucket storage [docs](https://docs.powersync.com/self-hosting/installation/powersync-service-setup#postgres-storage) for more information.
66

7-
## Running
7+
## Deploy on Railway
8+
9+
[![Deploy on Railway](https://railway.com/button.svg)](https://railway.com/deploy/powersync-starter-postgres?referralCode=kChzwj&utm_medium=github&utm_source=selfhostdemo)
10+
11+
## Running locally
812

913
The `.env` file contains default configuration for the services. Reference this to connect to any services locally.
1014

0 commit comments

Comments
 (0)