victorx64/devrating

How do I use this software?

throwaway29345 opened this issue · 1 comments

This project looks awesome! However I have trouble running it.

I cloned a public repo and put it in /local/path/to/repo

I ran the following 3 commands, as per the readme :

$ docker run -it --rm -v /local/path/to/repo:/repo -v /local/path/to/my/folder:/workspace victorx64/devrating:latest add commit -p /repo -m <commit-hash-1>
$ docker run -it --rm -v /local/path/to/repo:/repo -v /local/path/to/my/folder:/workspace victorx64/devrating:latest add commit -p /repo -m <commit-hash-2>
$ docker run -it --rm -v /local/path/to/repo:/repo -v /local/path/to/my/folder:/workspace victorx64/devrating:latest add commit -p /repo -m <commit-hash-3>

They all exited succesfully. I also see a new file /local/path/to/my/folder/devrating.sqlite3. Then i ran

$ docker run -it --rm -v /local/path/to/repo:/repo -v /local/path/to/my/folder:/workspace victorx64/devrating:latest top

but the output is empty.

@throwaway29345 an example script is added