file-manager

module
v0.22.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 2, 2024 License: Apache-2.0

README

file-manager

Running Locally

make build-server
./bin/server run --config config.yaml

config.yaml has the following content:

httpPort: 8080
grpcPort: 8081
internalGrpcPort: 8082

debug:
  standalone: true
  sqlitePath: /tmp/file_manager.db

You can then connect to the DB.

sqlite3 /tmp/file_manager.db

You can then hit the endpoint.

curl http://localhost:8080/v1/files

curl http://localhost:8080/v1/files \
  --form purpose="fine-tune" \
  --form file="@mydata.jsonl"

Directories

Path Synopsis
api
v1
Package v1 is a reverse proxy.
Package v1 is a reverse proxy.
server
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL