Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/whoan/sourcerer-app-docker
- Owner: whoan
- License: mit
- Created: 2018-11-13T04:18:01.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-01-01T19:41:30.000Z (about 5 years ago)
- Last Synced: 2024-10-26T12:36:29.790Z (2 months ago)
- Language: Dockerfile
- Homepage: https://sourcerer.io/whoan
- Size: 3.91 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)