Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/whoan/sourcerer-app-docker

Run sourcerer app locally with docker
https://github.com/whoan/sourcerer-app-docker

Last synced: 20 days ago
JSON representation

Run sourcerer app locally with docker

Awesome Lists containing this project

README

        

# Dockerfile for sourcerer app

This project is aimed to run [sourcerer app](https://github.com/sourcerer-io/sourcerer-app) locally with docker

## Build the image

```
docker build -t my-sourcerer-app .
```

## Run sourcerer app

```
# function ready for your initialization file (eg: ~/.bashrc)
sourcerer() {
local sourcerer_app_docker=/path/to/sourcerer-app-docker/ # CHANGE THIS!
local repos=/path/to/your/repos/ # CHANGE THIS!
docker-compose -f "$sourcerer_app_docker"/docker-compose.yml run -v "$repos":/projects sourcerer "$@"
}
sourcerer --help
sourcerer add
```

## Example

```
$ ls ~/repos
awesome-project

# add a project to sourcerer
sourcerer add awesome-project

# check tracked repositories
sourcerer list

# process statistics
sourcerer
```

## License

[MIT](https://github.com/whoan/sourcerer-app-docker/blob/master/LICENSE)