The demo is completely self-contained. Both build and runtime happens in a Docker container. Note that currently it needs around 1 GiB of RAM at runtime.
git clean -fXd # optional, removes all Git-ignored files
docker build -t janjones/awe-demo -f demo/Dockerfile --build-arg GITHUB_API_TOKEN=<token> .
docker run --rm -it -p 3000:3000 janjones/awe-demo
Alternatively, run GitHub Action
Demo Docker Image
and use image janjones/awe-demo
from Docker Hub.
Demo can be started during development.
-
Make sure there is a pre-trained model in
logs
.gh auth login gh release download v0.1 --pattern logs.tar.gz tar xvzf logs.tar.gz rm logs.tar.gz
-
Install packages and start the server.
cd js pnpm install DEBUG=1 pnpm run server
Options are passed as environment variables.
See DemoOptions
in app.ts
.