Skip to content

Commit

Permalink
📝 Updated README.md with cleaner installation instructions
Browse files Browse the repository at this point in the history
The README.md has been updated to improve the clarity and structure of the installation instructions. This includes dividing the process into clear steps, and moving some information to provide better context for the process.
  • Loading branch information
anxuanzi committed May 6, 2024
1 parent f8ebd44 commit d993abb
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,29 @@ The OneUptime Infrastructure Agent is a lightweight, open-source agent that coll

## Installation

```
Download the Installation Script
```bash
curl -O https://raw.githubusercontent.com/anxuanzi/oneuptime-infrastructure-agent-go/main/install.sh
```

# then run the install script
Run the Installation Script
```bash
chmod +x install.sh && ./install.sh
```

# You can change the host to your own host if you're self hosting the OneUptime platform.
# You can find the secret key on OneUptime Dashboard. Click on "View Monitor" and go to "Settings" tab.
# Install the agent as a systemd service.
Install the agent as a system service
- You can change the host to your own host if you're self hosting the OneUptime platform.
- You can find the secret key on OneUptime Dashboard. Click on "View Monitor" and go to "Settings" tab.
```bash
oneuptime-infrastructure-agent install --secret-key=YOUR_SECRET_KEY --oneuptime-url=https://oneuptime.com
```

Once its up and running you should see the metrics on the OneUptime Dashboard.

## Starting the agent

```
oneuptime-infrastructure-agent start
```
Once its up and running you should see the metrics on the OneUptime Dashboard.

## Stopping the agent

Expand Down

0 comments on commit d993abb

Please sign in to comment.