Opus is a work-in-progress Minecraft statistics scraper written in C. There are two ways to run Opus:
- Natively on your machine
- Through docker
I recommend running opus with the makefile as it is simpler, and if you encounter any issues with dependencies, try docker instead.
- just Docker
If you opt to use the Makefile directly, please check the dependencies file for a comprehensive list of the project's dependencies. The dependencies listed in the dependencies file are for a minimal installation of Alpine Linux.
- Make
- Clang
- Valgrind*
- Bash*
*required only for running test suite
Note: If you're using a package-rich distribution like Ubuntu, some dependencies in the
dependenciesfile (e.g.,musl-devfor basic C libraries) or equivalents may already be installed.
You can choose to run either the main program or the test suite.
docker build -t Opus .
docker run Opusdocker build --build-arg directory=tests -t Opus/tests .
docker run Opus/testsThe command to run the test suite is the same as running the program,
but to run tests you must be in the tests directory.
make run