+
Skip to content

cigaleapp/beamup

Repository files navigation

beamup

Send corrections to a CIGALE BeamUp server.

Client library

Usage

import { sendCorrections } from "@cigale/beamup";

await sendCorrections({
    origin: "https://beamup.example.com",
    corrections: [ ... ]
})

Server

Usage

Use the Docker image:

docker run -p 8000:3000 -e PROD=true -v ./db/:/app/db/:rw ghcr.io/cigaleapp/beamup:latest
  • -p: listen on host machine's :8000
  • -e: set to production mode
  • -v: mount host machine's ./db directory to container's /app/db (make sure that you can write to the dih)

Development

To install dependencies:

bun install

To run:

bun run src/index.ts

To develop:

bun run --watch src/index.ts

This project was created using bun init in bun v1.2.21. Bun is a fast all-in-one JavaScript runtime.

About

Continuous improvement server to gather user-made corrections to neural-net-inferred data

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors 3

  •  
  •  
  •  
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载