feat: add .env configuration file and update README with configuration details
This commit is contained in:
11
monitor/.env
Normal file
11
monitor/.env
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
# This file is only used to configure the monitor.
|
||||||
|
# Do not write any secret keys or sensitive information here.
|
||||||
|
|
||||||
|
# Monitor configuration
|
||||||
|
TASK_CONFIG_PATH=../evaluation_examples/test_small.json
|
||||||
|
EXAMPLES_BASE_PATH=../evaluation_examples/examples
|
||||||
|
RESULTS_BASE_PATH=../results_operator_aws/pyautogui/screenshot/computer-use-preview
|
||||||
|
MAX_STEPS=50
|
||||||
|
FLASK_PORT=80
|
||||||
|
FLASK_HOST=0.0.0.0
|
||||||
|
FLASK_DEBUG=true
|
||||||
3
monitor/.gitignore
vendored
Normal file
3
monitor/.gitignore
vendored
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
# this .env file is used to store some paths and some configuration
|
||||||
|
# It is not secure, so it can be committed to the repository
|
||||||
|
!.env
|
||||||
@@ -8,7 +8,7 @@ This monitor provides a visual interface to track the status, progress, and resu
|
|||||||
|
|
||||||
- View all tasks grouped by type
|
- View all tasks grouped by type
|
||||||
- Monitor task execution status in real-time
|
- Monitor task execution status in real-time
|
||||||
- See detailed execution steps with screenshots
|
- See detailed execution steps with screenshots and videos
|
||||||
- Check task results
|
- Check task results
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
@@ -17,11 +17,11 @@ The monitor can be configured by editing the `.env` file in the monitor director
|
|||||||
|
|
||||||
| Variable | Description | Default Value |
|
| Variable | Description | Default Value |
|
||||||
|----------|-------------|---------------|
|
|----------|-------------|---------------|
|
||||||
| TASK_CONFIG_PATH | Path to the task configuration JSON file | evaluation_examples/test_small.json |
|
| TASK_CONFIG_PATH | Path to the task configuration JSON file | ../evaluation_examples/test_small.json |
|
||||||
| EXAMPLES_BASE_PATH | Base path for task example files | evaluation_examples/examples |
|
| EXAMPLES_BASE_PATH | Base path for task example files | ../evaluation_examples/examples |
|
||||||
| RESULTS_BASE_PATH | Base path for execution results | results_operator_aws/pyautogui/screenshot/computer-use-preview |
|
| RESULTS_BASE_PATH | Base path for execution results | ../results_operator_aws/pyautogui/screenshot/computer-use-preview |
|
||||||
| MAX_STEPS | Maximum steps to display for a task | 50 |
|
| MAX_STEPS | Maximum steps to display for a task | 50 |
|
||||||
| FLASK_PORT | Port for the web server | 8080 |
|
| FLASK_PORT | Port for the web server | 80 |
|
||||||
| FLASK_HOST | Host address for the web server | 0.0.0.0 |
|
| FLASK_HOST | Host address for the web server | 0.0.0.0 |
|
||||||
| FLASK_DEBUG | Enable debug mode (true/false) | true |
|
| FLASK_DEBUG | Enable debug mode (true/false) | true |
|
||||||
|
|
||||||
@@ -45,6 +45,7 @@ The recommended way to run the monitor is using Docker with the provided Docker
|
|||||||
|
|
||||||
- Docker and Docker Compose installed on your system
|
- Docker and Docker Compose installed on your system
|
||||||
- OSWorld repository cloned to your local machine
|
- OSWorld repository cloned to your local machine
|
||||||
|
- Environment variables set in the `.env` file
|
||||||
|
|
||||||
### Starting the Monitor
|
### Starting the Monitor
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user