File size: 962 Bytes
3f268e5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# bot.js configuration file

This file must be in **configs/bot.js** and defines several properties:

```
module.exports.config = {
  system: name of the bot that will be shown on the web interface
  ip: localhost or IP or DNS name of the computer that will run the bot
  port: dana-bot needs 2 ports to run (port and port+1)
  runners: {  // Contains all configurations for running the tests/benchmarks
    "Name of the configuration": {
      cpu: Maximum number of cpu to use,
      sys: Used to identify the system (can be 'OSX', 'windows', 'ubuntu', ...)
    }
  },
  admin: {          
    name: name of the admin user,
    password: password of the admin user
  }
}
```

Example:

```
module.exports.config = {
  system: 'MyComputer',  
  ip: 'localhost',    
  port: 5051,         
  runners: {          
    "prime": {        
      cpu: 12,        
      sys: 'OSX'
    }
  },
  admin: {          
    name: 'admin',   
    password: 'admin'
  }
}
```