/Wiki/sources/honojs__hono/2026/https-raw-githubusercontent-com-honojs-examples--e974008100ba-usage-s0003-c0000.md
Usage - hono-docs
Usage Source evidence: /Sources/raw/honojs hono/honojs hono.md Canonical citation: https://raw.githubusercontent.com/honojs/examples/main/blog/README.md usag...
Usage
Source evidence: /Sources/raw/honojshono/honojshono.md Canonical citation: https://raw.githubusercontent.com/honojs/examples/main/blog/README.md#usage
Summary
Install dependencies: sh npm install Rename wrangler.example.toml to wrangler.toml: sh mv wrangler.example.toml wrangler.toml Setup KV: ```sh wrangler kv:namespace create BLOG_EXAMPLE --preview š Creating namespace with...
Content
Install dependencies:
npm installRename wrangler.example.toml to wrangler.toml:
mv wrangler.example.toml wrangler.tomlSetup KV:
wrangler kv:namespace create BLOG_EXAMPLE --preview
š Creating namespace with title "hono-example-blog-BLOG_EXAMPLE_preview"
⨠Success!
Add the following to your configuration file in your kv_namespaces array:
{ binding = "BLOG_EXAMPLE", preview_id = "xxxxxxxxxx" }wrangler kv:namespace create BLOG_EXAMPLE
š Creating namespace with title "hono-example-blog-BLOG_EXAMPLE"
⨠Success!
Add the following to your configuration file in your kv_namespaces array:
{ binding = "BLOG_EXAMPLE", id = "yyyyyyyyyy" }Copy KV id:
kv_namespaces = [
{ binding = "BLOG_EXAMPLE", preview_id = "xxxxxxxxxx", id = "yyyyyyyyy" }
]Run a development server:
npm run devPublish:
npm run deploy