-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Labels
Milestone
Description
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.