artistore

command module
v0.0.0-...-da336a3 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2021 License: MIT Imports: 29 Imported by: 0

README

Artistore

A simple artifact store server.

Usage

1. Generate server secret
$ export ARTISTORE_SECRET=$(artistore secret)
2. Start server
$ artistore serve --store ./path/to/storage
3. Publish your artifact
$ artistore publish prefix/filename.txt

or

$ export ARTISTORE_TOKEN=$(artistore token prefix/)
$ curl -H "Authorization: bearer ${ARTISTORE_TOKEN}" --data-binary '@file.txt' http://localhost:3000/prefix/filename.txt
4. Download and use your artifact
$ artistore get prefix/filename.txt

or

$ curl -L https://localhost:3000/prefix/filename.txt

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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