Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 642 Bytes

README.md

File metadata and controls

37 lines (25 loc) · 642 Bytes

OpenWorkers runner

OpenWorkers is a runtime for running javascript code in a serverless environment.

This runner manages instances of OpenWorkers Runtime.

Usage

Build

cargo build --release

Snapshot the runtime

cargo run --bin snapshot

Run

export RUST_LOG=openworkers_runtime=debug,openworkers_runner=debug # Optional

cargo run

Install sqlx-cli (optional - only for development)

cargo install sqlx-cli --no-default-features --features rustls,postgres

Prepare the database

cargo sqlx prepare