fly-svelte-bugsink-demo Svelte Themes

Fly Svelte Bugsink Demo

A demo app showcasing how to run and integrate a Svelte app with Bugsink on the same Fly machine.

fly-svelte-bugsink-demo

A demo app showcasing how to run and integrate a Svelte app with Bugsink on the same Fly machine.

Development

to test the setup:

docker build \
  -t dev \
  --build-arg PUBLIC_BUGSINK_DSN="http://13371337133713371337133713371337@localhost:8001/1" \
  --build-arg BUGSINK_HOST_APP_URL="http://localhost:8000" \
  -f fly.Dockerfile .

docker run --rm -it \
  -p 8000:8000 \
  -p 8001:8001 \
  -e BUGSINK_SUPERUSER_CREDENTIALS="[email protected]:test1234" \
  -e BUGSINK_HOST_APP_URL="http://localhost:8000" \
  -v $PWD/.dev_persistent_volume:/mnt/persistent_volume/ \
  dev

#
# web app: http://localhost:8000
# bugsink: http://localhost:8001

The DSN project slug 13371337133713371337133713371337 is hardcoded in Bugsink, so it can also be hardcoded in the app.

Developing the demo frontend

yarn run dev

Deployments

Deployments to fly.io are done automatically via GHA, on push to master branch.

Top categories

Loading Svelte Themes