Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README with correct installation instructions and configuration path #53

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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