Gem to return stats from a Github repository
- Install Docker Compose
https://docs.docker.com/compose/install/
- Start container running with bash
docker-compose run app bash
- In the container, run
ruby -Ilib ./bin/git_stats [REPOSITITORY_OWNER] [REPOSITORY_NAME]
- Install RVM
- Load project RVM
rvm use
- Export Github URL environment variable
export GITHUB_API=https://api.github.com
- Run gem bin
ruby -Ilib ./bin/git_stats [REPOSITITORY_OWNER] [REPOSITORY_NAME]
- Install Docker Compose
https://docs.docker.com/compose/install/
- Run
./scripts/git_stats.sh