Comment on Show HN: Pbnj – A minimal, self-hosted pastebin you can deploy in 60 secondsparentComments−thunderbong9mopnpm run buildshould do it−davidcollantes9moThat creates `dist` with:404.png .assetsignore _astro/ bread.png favicon.png favicon.svg jelly.png lock.png logo.png og-image.png pbnj.png peanut.png _routes.json styles/ _worker.js/In it. What comes next?−catapart9mo- navigate to dist directory- run pnpm dlx http-serve- navigate to one of the provided ip addresses(this uses the tunnl.gg service and is not necessary for local network access)- [optional, for access via internet] run ssh -t -R 80:[provided ip address including port] proxy.tunnl.gg−davidcollantes9moThat gave me some other errors. I am giving up. Thanks for helping!−Numerlor9moFwiw if you want a simple pastebin, I've been running pinnwand for a couple years without any issues off of a single short docker compose file, I think running it on host also shouldn't be complicated
Comments
pnpm run build
should do it
That creates `dist` with:
404.png .assetsignore _astro/ bread.png favicon.png favicon.svg jelly.png lock.png logo.png og-image.png pbnj.png peanut.png _routes.json styles/ _worker.js/
In it. What comes next?
- navigate to dist directory
- run pnpm dlx http-serve
- navigate to one of the provided ip addresses
(this uses the tunnl.gg service and is not necessary for local network access)
- [optional, for access via internet] run ssh -t -R 80:[provided ip address including port] proxy.tunnl.gg
That gave me some other errors. I am giving up. Thanks for helping!
Fwiw if you want a simple pastebin, I've been running pinnwand for a couple years without any issues off of a single short docker compose file, I think running it on host also shouldn't be complicated