Important: don't forget to edit docker-compose.yml
and change the volume option. By default it's set to /dev/shm/
so it shouldn't cause any chaos even if someone forgets to change it
Except the addresses all other values can be configured in .env
.
To get started just rename .env.example
to .env
and change the values.
Simplest way to run this project is with Docker:
docker compose up
This project contains hardcoded IP addresses which Go allows us to change during the compilation.
If you are running both Redis and Mongo on localhost and default port you can run make all
to compile everything.
To compile only the scanner or only the worker you can run make scanner
or make server
respectively.
If you need to modify any addresses you can use the following commands for compilation:
go build -o worker worker/worker.go
go build -o scanner main.go