-
Notifications
You must be signed in to change notification settings - Fork 221
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move to single-binary distributions for server #397
Comments
Work is currently in progress in the |
Sadly I have to put this on hold due to this blocker: denoland/deno#11154 which makes it impossible to create signed Mac desktop builds based on this new model. Reverted all the commits on |
Since there's now no need to sign anything anymore (since dropping the desktop app), this is unblocked. Question is still: do we want it? |
Well, I am just seeing SilverBullet for the first time today, but yes, I would love to see this. Install failed at my locked-down corporate environment. I got deno running, but had trouble with loading SB's NPM dependencies. I single executable is always easier. |
A full transition is blocked because we need to figure out how to build ARM64 Linux builds, which Deno doesn't natively support. Maybe doing this inside an ARM64 docker image is an option. |
It's now possible to build for Linux arm in deno. So this one's unblocked again. |
deno bundle
which current produces thesilverbullet.js
bundle is deprecated, whiledeno compile
(which produces single binaries you can run without having Deno installed) has gained some features that were previously missing (such as Worker support) and SB required.The plan is to migrate away from
deno bundle
and to produce platform-specific builds for SilverBullet server usingdeno compile
. I'm happy to do this anyway, because I had to do a fair bit of hacking to getdeno bundle
to actually bundle everything it needed and this would clean some of that up.What needs to happen:
deno compile
it doesn't onmain
deno run ...
line on the website right now) that determines the OS and architecture and downloads the appropriate zip file and extracts it locallysilverbullet upgrade
command to replace itself with a newer version when availablesilverbulllet.js
on silverbullet.md to describe how to perform upgrades in the future.deno compile
based binary, rather than runningdeno
as a sub-process and distribute/sign it with the desktop distributionBeside reducing some technical debt, the cool thing is that regular users no longer need to install Deno at all. They will be able to run a single
curl | sh
style command to install SB and don't need to install and manage Deno separately.The text was updated successfully, but these errors were encountered: