You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+45-36
Original file line number
Diff line number
Diff line change
@@ -22,6 +22,51 @@ arduino-create-agent is a fork of @johnlauer's serial-port-json-server (which we
22
22
23
23
The history has been rewritten to keep the repo small (thus removing all binaries committed in the past)
24
24
25
+
26
+
27
+
## Using multiple configurations
28
+
29
+
The agent support multiple configuration files. When multiple configurations are found by the agent, the tray icon menu is expanded to contain the different configurations:
**Tip**: you can also use the multiple configurations feature to create a new configuration with the proxy settings. This way you can have multiple proxies configured and disable proxy configuration with ease.
or in the location selected during the installation
87
132
88
-
## Using multiple configurations
89
-
90
-
The agent support multiple configuration files. When multiple configurations are found by the agent, the tray icon menu is expanded to contain the different configurations:
The default `config.ini` file contains common configurations, every other config file inherit from it.
95
-
96
-
To create multiple configuration files:
97
-
- stop the agent: tray bar icon -> pause then tray bar icon -> kill
98
-
- find the `config.ini` file that is present in the `arduino-create-agent` installation folder
99
-
- copy `config.ini` or create a new ini file (e.g. `example.ini`) with content:
100
-
```ini
101
-
name = your configuration nanem
102
-
```
103
-
add in this file other configuration options (you can override inherited values from `config.ini`)
104
-
- restart the agent
105
-
- click the tray bar icon and select the new configuration
106
-
107
-
## When behind a proxy
108
-
109
-
The agent support working behind a proxy, but manual configuration is required ( there is no support for automatic proxy discovery ).
110
-
111
-
To add proxy configuration:
112
-
- stop the agent: tray bar icon -> pause then tray bar icon -> kill
113
-
- find the `config.ini` file that is present in the `arduino-create-agent` installation folder
114
-
- edit the `config.ini` file adding this lines under the `[env]` section ( create it if not present ):
115
-
```ini
116
-
http_proxy=yourproxyhere
117
-
https_proxy=yourhttpsproxyhere
118
-
```
119
-
- restart the agent
120
-
121
-
**Tip**: you can also use the multiple configurations feature to create a new configuration with the proxy settings. This way you can have multiple proxies configured and disable proxy configuration with ease.
0 commit comments