Skip to content

Commit

Permalink
Update README with correct installation instructions and configuratio…
Browse files Browse the repository at this point in the history
…n path

Closes opsgenie#51
  • Loading branch information
JaapJoris committed Apr 5, 2023
1 parent 9e14a61 commit 14cc264
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,20 +23,18 @@ environment variables.
don't have a valid account yet. Create an API Integration and get your API key.

## Installation
To download all packages in the repo with their dependencies, simply run
To install Lamp, run:

`go get github.com/opsgenie/opsgenie-lamp/...`
```shell
go install github.com/opsgenie/opsgenie-lamp@latest
```

The command will automatically download and install necessary package files and dependencies under the src directory of the GOPATH.

Then cd to GOPATH/src/github.com/opsgenie/opsgenie-lamp and run:

`go install`
The command will create the executable file `GOPATH/bin/opsgenie-lamp`

## Configuration
You can make configurations via Lamp configuration file. It's located under

`LAMP_HOME/conf/lamp.conf`
`GOPATH/conf/opsgenie-integration.conf`

If you want to use a configuration file located in some custom location, you can define it in your commands:

Expand Down

0 comments on commit 14cc264

Please sign in to comment.