diff --git a/tig-benchmarker/README.md b/tig-benchmarker/README.md index 721a32c..3fea29b 100644 --- a/tig-benchmarker/README.md +++ b/tig-benchmarker/README.md @@ -15,7 +15,7 @@ export UI_PORT=80 export DB_PORT=5432 export MASTER_PORT=5115 -docker-compose up +docker-compose up --build ``` See last section on how to find your player_id & api_key. @@ -31,6 +31,12 @@ See last section on how to find your player_id & api_key. * There are 4 services: `db`, `master`, `ui`, `nginx` * To query the database, recommend to use [pgAdmin](https://www.pgadmin.org/) +## Hard Resetting Your Master + +1. Kill the services: `docker-compose down` +2. Delete the database: `rm -rf db_data` +3. Start your master + # Connecting Slaves 1. Compile `tig-worker`: @@ -49,6 +55,12 @@ See last section on how to find your player_id & api_key. * To use a different port, use the option `--port ` * To see all options, use `--help` +## Hard Resetting Your Slave + +1. Stop your slave +2. Remove the output folder (defaults to results): `rm -rf results` +3. Start your slave + # Optimising your Config 1. `difficulty_sampler_config` allows you to configure the difficulty your benchmarker selects for each challenge: