Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/robhaswell/github-salto-docker

Dockerfile for github-salto
https://github.com/robhaswell/github-salto-docker

Last synced: 19 days ago
JSON representation

Dockerfile for github-salto

Awesome Lists containing this project

README

        

github-salto-docker
===================

Dockerfile for github-salto.

Usage
-----

The first time this container is run you must generate an auth token.
This is done interactively, so `-ti` must be passed to the `docker run` command.
The token must be stored in a persistent volume.
On the container path for this volume is `/github-salto/data`.

```sh
$ docker run -ti -v /opt/github-salto:/github-salto/data robhaswell/github-salto auth
Github username: ***
Github password: ***
```

To generate a dependency graph use `create `.
The output can be piped to `dot` to output a PDF file.

```sh
$ docker run -v /opt/github-salto:/github-salto/data \
robhaswell/github-salto create myusername myrepository \
| docker run -i robhaswell/dot -T pdf > graph.pdf
```

See https://github.com/njam/github-salto for more information.