Add installation instructions for Windows and MacOS

This commit is contained in:
Simon Larsen 2024-04-01 15:41:12 +01:00
parent 641c8de84b
commit 1d93fdf73b
No known key found for this signature in database
GPG Key ID: AB45983AA9C81CDE

View File

@ -30,6 +30,9 @@ const ServerMonitorDocumentation: FunctionComponent<ComponentProps> = (
# Install the agent
curl -s ${HTTP_PROTOCOL}${HOST.toString()}/docs/static/scripts/infrastructure-agent/install-linux.sh | bash
# For Windows and MacOS, install NodeJS and NPM adn then...
npm install -g @oneuptime/infrastructure-agent
# Run the agent
oneuptime-infrastructure-agent --secret-key=${props.secretKey.toString()} ${
showHost ? '--oneuptime-url=' + host : ''