From 345c6fa12515b46bc1ec7419f50bfd3a84fc534b Mon Sep 17 00:00:00 2001 From: syumai Date: Mon, 30 May 2022 23:26:47 +0900 Subject: [PATCH] add FAQ to README.md --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 190ee14..5c477c8 100644 --- a/README.md +++ b/README.md @@ -50,6 +50,18 @@ Currently, all examples use tinygo instead of Go due to binary size issues. A template repository is also available. * https://github.com/syumai/worker-template-tinygo +## FAQ + +### How to deploy the worker? + +To deploy a Worker, the following steps are required. + +* Create a worker project using [wrangler](https://developers.cloudflare.com/workers/wrangler/). +* Build a Wasm binary. +* Upload a Wasm binary with a JavaScript code to load and instantiate Wasm (for entry point). + +The [worker-template-tinygo](https://github.com/syumai/worker-template-tinygo) repository contains all the required files, so I recommend using this template. + ## License MIT