diff --git a/.gitignore b/.gitignore index 0e380f9..ce4f5b6 100644 --- a/.gitignore +++ b/.gitignore @@ -18,5 +18,4 @@ Cargo.lock __pycache__/ # Ignore these. -.env db_data/ \ No newline at end of file diff --git a/tig-benchmarker/.env b/tig-benchmarker/.env new file mode 100644 index 0000000..31520d1 --- /dev/null +++ b/tig-benchmarker/.env @@ -0,0 +1,7 @@ +POSTGRES_USER=postgres +POSTGRES_PASSWORD=mysecretpassword +POSTGRES_DB=postgres +UI_PORT=80 +DB_PORT=5432 +MASTER_PORT=5115 +VERBOSE= \ No newline at end of file diff --git a/tig-benchmarker/README.md b/tig-benchmarker/README.md index 4285f64..b5be57e 100644 --- a/tig-benchmarker/README.md +++ b/tig-benchmarker/README.md @@ -7,17 +7,21 @@ Benchmarker for TIG. Expected setup is a single master and multiple slaves on di Simply run: ``` -POSTGRES_USER=postgres \ -POSTGRES_PASSWORD=mysecretpassword \ -POSTGRES_DB=postgres \ -UI_PORT=80 \ -DB_PORT=5432 \ -MASTER_PORT=5115 \ -# set VERBOSE=1 for debug master logs -VERBOSE= \ docker-compose up --build ``` +This uses the `.env` file: + +``` +POSTGRES_USER=postgres +POSTGRES_PASSWORD=mysecretpassword +POSTGRES_DB=postgres +UI_PORT=80 +DB_PORT=5432 +MASTER_PORT=5115 +VERBOSE= +``` + See last section on how to find your player_id & api_key. **Notes:**