satis-go
satis-go copied to clipboard
how to make satis-go use 'archive' config from db.json
Currently using the https://github.com/ubc/satis-go-docker docker container for playing around with satis-go.
My db.json looks like the following (with a whole list of private repo's, next to that laravel one):
{
"name": "My First Satis-Go",
"homepage": "http://127.0.0.1:8080",
"repositories": [
{
"type": "git",
"url": "https://github.com/jamisonvalenta/Laravel-4-Generators.git"
}
],
"require-all": true,
"archive": {
"directory": "dist",
"format": "tar",
"prefix-url": "http://cdn.satis.test"
}
}
After starting satis-go (/opt/satis-go/satis-go
) the archive
key gets removed from the db.json and is not transfered to the stage.json.
How can I make it create the dist
and keep this config?
i have the same problem.
Hi, I have same problem and find out that satis-go
binaries from https://github.com/benschw/satis-go/releases/tag/0.1.1 always override db.json
file. So I compile from source and it works well.