Skip to content

Commit 7b44435

Browse files
authored
Merge pull request #235 from arduino/devel
Updated readme with double config and new agent links
2 parents 66d8927 + 570005a commit 7b44435

File tree

3 files changed

+60
-3
lines changed

3 files changed

+60
-3
lines changed

README.md

Lines changed: 58 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,69 @@ arduino-create-agent
44
## Installation
55
Get the latest version of the Agent for all supported platforms:
66

7-
* [Windows](http://downloads.arduino.cc/CreateBridgeStable/ArduinoCreateAgent-1.1-windows-installer.exe)
8-
* [MacOSX](http://downloads.arduino.cc/CreateBridgeStable/ArduinoCreateAgent-1.1-osx-installer.dmg)
9-
* [Linux x64](http://downloads.arduino.cc/CreateBridgeStable/ArduinoCreateAgent-1.1-linux-x64-installer.run)
7+
### Windows
8+
* [Windows with Edge](http://downloads.arduino.cc/CreateBridgeStable/ArduinoCreateAgent-1.1-windows-installer-edge.exe)
9+
* [Windows with Chrome](http://downloads.arduino.cc/CreateBridgeStable/ArduinoCreateAgent-1.1-windows-installer-chrome.exe)
10+
* [Windows with Firefox](http://downloads.arduino.cc/CreateBridgeStable/ArduinoCreateAgent-1.1-windows-installer-firefox.exe)
11+
12+
### MacOSX
13+
* [MacOSX with Safari](http://downloads.arduino.cc/CreateBridgeStable/ArduinoCreateAgent-1.1-osx-installer-safari.dmg)
14+
* [MacOSX with Chrome](http://downloads.arduino.cc/CreateBridgeStable/ArduinoCreateAgent-1.1-osx-installer-chrome.dmg)
15+
* [MacOSX with Firefox](http://downloads.arduino.cc/CreateBridgeStable/ArduinoCreateAgent-1.1-osx-installer-firefox.dmg)
16+
17+
### Linux
18+
* [Linux x64 with Chrome](http://downloads.arduino.cc/CreateBridgeStable/ArduinoCreateAgent-1.1-linux-x64-installer-chrome.tar.gz)
19+
* [Linux x64 with Firefox](http://downloads.arduino.cc/CreateBridgeStable/ArduinoCreateAgent-1.1-linux-x64-installer-firefox.tar.gz)
1020

1121
arduino-create-agent is a fork of @johnlauer's serial-port-json-server (which we really want to thank for his kindness and great work)
1222

1323
The history has been rewritten to keep the repo small (thus removing all binaries committed in the past)
1424

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:
30+
31+
![Agent multiple configuration tray icon](https://raw.githubusercontent.com/arduino/arduino-create-agent/devel/images/linux/tray-icon-multiple-profiles.png)
32+
33+
The default `config.ini` file contains common configurations, every other config file inherit from it.
34+
35+
To create multiple configuration files:
36+
- stop the agent: tray bar icon -> pause then tray bar icon -> kill
37+
- find the `config.ini` file that is present in the `arduino-create-agent` installation folder
38+
- copy `config.ini` or create a new ini file (e.g. `example.ini`) with content:
39+
```ini
40+
name = your configuration name
41+
```
42+
add in this file other configuration options (you can override inherited values from `config.ini`)
43+
- restart the agent
44+
- click the tray bar icon and select the new configuration
45+
46+
**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.
47+
48+
## When behind a proxy
49+
50+
The agent support working behind a proxy, but manual configuration is required ( there is no support for automatic proxy discovery ).
51+
52+
To add proxy configuration:
53+
- stop the agent: tray bar icon -> pause then tray bar icon -> kill
54+
- find the `config.ini` file that is present in the `arduino-create-agent` installation folder
55+
- copy `config.ini` to a new file (e.g. `proxy.ini`) with content:
56+
```ini
57+
name = Proxy Enabled
58+
[env]
59+
http_proxy=your.proxy.here
60+
https_proxy=your.https.proxyhere
61+
```
62+
- please note spaces are not allowed before and after the string `http_proxy`
63+
- restart the agent
64+
- select the proper Proxy profile as in the image
65+
- your agent will now work behind a proxy
66+
67+
![Agent multiple configuration tray icon](https://raw.githubusercontent.com/arduino/arduino-create-agent/devel/images/linux/tray-icon-multiple-profiles.png)
68+
69+
1570
## Disable Autostart
1671

1772
### Windows
9.87 KB
Loading

info.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ func infoHandler(c *gin.Context) {
1818
"https": "https://localhost" + portSSL,
1919
"ws": "ws://" + host + port,
2020
"wss": "wss://localhost" + portSSL,
21+
"origins": origins,
22+
"update_url": updateUrl,
2123
})
2224
}
2325

0 commit comments

Comments
 (0)