A HarperDB Component for processing requests with Edgio.
- Add the extension to your HarperDB project using your package manager:
npm install git+ssh://[email protected]:tristanlee85/harperdb-edgio-runner.git --save
# or
yarn add git+ssh://[email protected]:tristanlee85/harperdb-edgio-runner.git
# or
pnpm add git+ssh://[email protected]:tristanlee85/harperdb-edgio-runner.git
- Add to
config.yaml
:
'edgio-runner':
package: 'edgio-runner'
files: /*
- Run your app with HarperDB:
harperdb run .
edgioDir
: The path to the.edgio
directory.
This extension is built using Bun
. To get started, install Bun globally:
npm install -g bun
Then, run the following command to build the extension:
bun run build
This will create a dist
directory with the built extension bundled for Node.js.
If you are developing, you can use the watch
script to automatically rebuild the extension when you make changes to the source code.
bun run watch