satis-go

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

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

Go to latest
Published: May 11, 2020 License: GPL-3.0 Imports: 8 Imported by: 0

README

Build Status GoDoc

Satis-go

download latest

Satis-go is a web server for hosting and managing your Satis Repository for Composer Packages

Some Highlights:

  • Satis-go provides a simple user interface for managing the repositories you want to track in your Composer package repo
  • Repo generation is delegated to Satis so your package repository will stay up to date with composer specs
  • No database required: the satis config file is managed directly while still managing writes and reads safely
  • RESTful API so you and integrate this into your CI

Getting Started

Install

More here

Start the server
/opt/satis-go/satis-go
Manage your satis repo

Just navigate your browser to (http://localhost:8080/admin) and start adding repos. They will automatically populate in your custom repo: (http://localhost:8080)

Set up a web-hook script to refresh your repo on commit/push

Use the REST api to refresh your repository:

curl -X POST http://localhost:8080/api/generate-web-job

Hacking

install satis to your path like above (or use the supplied make target)

make satis-install

get a copy of the admin ui; you can store this in your checkout of satis-go

make admin-ui

get your go deps

make deps

start building

go test ./...
go build
./satis-go -config config-local.yaml

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