Skip to content
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

Create a workerd stack #341

Open
ocdtrekkie opened this issue Nov 19, 2022 · 2 comments
Open

Create a workerd stack #341

ocdtrekkie opened this issue Nov 19, 2022 · 2 comments

Comments

@ocdtrekkie
Copy link
Collaborator

This is the setup.sh I wrote a couple weeks ago which got me... most of the way there maybe?

sudo apt-get install -y clang libc++-dev libc++abi-dev g++ unzip zip git
curl -OL https://github.com/bazelbuild/bazel/releases/download/5.3.0/bazel-5.3.0-installer-linux-x86_64.sh
chmod +x bazel-5.3.0-installer-linux-x86_[64.sh](http://64.sh/)
./bazel-5.3.0-installer-linux-x86_[64.sh](http://64.sh/) --user

git -C "workerd" pull || git clone https://github.com/cloudflare/workerd
cd workerd
sudo /root/bin/bazel clean --expunge
sudo /root/bin/bazel build -c opt //src/workerd/server:workerd

But I wasn't able to get it to successfully build.

We can use the edge chat demo for testing, but durable objects support hasn't made it into workerd yet, so the useful apps will be limited. But one of their recent demos involves adding comments to static web pages using workerd, a concept we've wanted to explore more before.

@ocdtrekkie
Copy link
Collaborator Author

I think as per cloudflare/workerd#302 it should be possible for a workerd stack to behave reasonably as a Sandstorm app with persistent storage now?

@zenhack
Copy link
Collaborator

zenhack commented May 26, 2023

Pijul's Nest might be a good "real" app to package once we've figured out the basic stack: https://pijul.org/posts/2023-05-23-nest-a-new-hope/

@ocdtrekkie ocdtrekkie added this to the vagrant-spk 1.3 milestone Nov 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants