Beatbump icon indicating copy to clipboard operation
Beatbump copied to clipboard

How to deploy this app on Vercel?

Open habataku opened this issue 3 years ago • 5 comments

I want to self-host beatbump on cloudflare pages or cloudflare workers.

habataku avatar Oct 08 '22 13:10 habataku

image

If you clone the repo and go into the app directory, that's where you'll find the SvelteKit app. Then if you open beatbump.config.json and change environment.adapter to be one of the following:

  • "vercel"
  • "netlify"
  • "cloudflare-workers"
  • "node"

If deploying to either Netlify or Vercel, when you run the 'deploy' command for either CLI, when it asks if you want to change any of the project settings/config, change the Build Command to be "bb:build" and then you can leave the rest as the default (probably, I know vercel should work with the others being the defaults)

If deploying to Cloudflare Workers, follow the steps listed under "Basic Configuration" in the SvelteKit adapter README: https://github.com/sveltejs/kit/tree/master/packages/adapter-cloudflare-workers

snuffyDev avatar Oct 09 '22 10:10 snuffyDev

Thank you for your reply I set the "bb:build" command in vercel and built it, but an error occurred. I would appreciate it if you could tell me the settings at the time of deployment

habataku avatar Oct 14 '22 09:10 habataku

Sorry, I can't upload images to github so I will send you my situation using another image sharing app https://d.kuku.lu/c1d0cec5f

habataku avatar Oct 14 '22 09:10 habataku

but an error occurred

I think you need to run it with npm npm run bb:build

Like in this file

NextGenOP avatar Nov 16 '22 10:11 NextGenOP

Thankyou, successfully deploy the app to Cloudflare Workers

z0rielle avatar Nov 18 '22 18:11 z0rielle