Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/anowell/who-owns-it

A simple service for keeping track of component ownership
https://github.com/anowell/who-owns-it

Last synced: about 2 months ago
JSON representation

A simple service for keeping track of component ownership

Awesome Lists containing this project

README

        

who-owns-it
===========

A simple service for keeping track of component ownership

Getting started
---------------

Create data/teams.json

[
{
"name": "Team Awesome",
"email": "[email protected]:",
"members" [
"Anthony Nowell"
]
}
]

Create data/projects.json

[
{
"name": "who-owns-it",
"team": "Team Awesome",
"aliases": ["whoowns", "who-owns", "whoownsit", "ownership"]
}
]

Start who-owns-it server in a docker container. This bind mounts the data directory into the container which doesn't "just work" for remote docker hosts (e.g. Boot2Doc - sorry Mac users). It also bind mounts the app directory and runs it via 'go run' so that you can make changes, and simply restart your docker container for them to take effect.

$ bin/start
$ curl -s $DOCKER_HOST:8080/whoowns
{"Project":"who-owns-it","Team":"Team Awesome","Email":"[email protected]","Members":["Anthony Nowell"],"Aliases":["whoowns", "who-owns", "whoownsit", "ownership"]}


Alternatively, you can run this outside of Docker

$ DATA_DIR=`pwd`/data go run app/server.go
$ curl -s localhost:8080/whoowns