Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 700 Bytes

File metadata and controls

22 lines (17 loc) · 700 Bytes

Web Apps on Blobcache

This is a command line tool for running an HTTP server which can serve files from Blobcache and expose the Blobcache HTTP API. This means that the source files for the app can be served from a Volume (which may even be on another node). It can also serve files from the local filesystem, which is useful for development.

It uses the environment variables BLOBCACHE_API and BLOBCACHE_NS_ROOT. See the Blobcache repo

Examples

Local files and Blobcache API

Serve files from the local filesystem and the API.

webapp \
  --fs /src:./example/most-basic
  --api /api
  127.0.0.1:0
  
serving at http://127.0.0.1:9001