From b3ab674015c5392caf9450b3f8cc0a10abfd2b61 Mon Sep 17 00:00:00 2001 From: FifthWit <110744759+FifthWit@users.noreply.github.com> Date: Wed, 23 Apr 2025 11:40:10 -0500 Subject: [PATCH] Added Deployment options (#16) * Added wrangler.json for deployments * Updated readme with deployment buttons --- README.md | 4 ++++ wrangler.json | 9 +++++++++ 2 files changed, 13 insertions(+) create mode 100644 wrangler.json diff --git a/README.md b/README.md index c5ed5e57..47728a0e 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,10 @@ # P-Stream [![P-Stream Image](.github/P-Stream.png)](https://docs.pstream.org) +[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fp-stream%2Fp-stream) + +[![Deploy to Cloudflare](https://deploy.workers.cloudflare.com/button)](https://deploy.workers.cloudflare.com/?url=https://github.com/p-stream/p-stream) + **I *do not* endorse piracy of any kind I simply enjoy programming and large user counts.** ## Links And Resources diff --git a/wrangler.json b/wrangler.json new file mode 100644 index 00000000..11c59cc4 --- /dev/null +++ b/wrangler.json @@ -0,0 +1,9 @@ +{ + "name": "p-stream", + "compatibility_date": "2024-06-01", + "pages_build_output_dir": "dist", + "build": { + "command": "npm run build" + }, + "workers_dev": true +}