https://github.com/log-rush/distribution-server
A simple log-rush log distribution server
https://github.com/log-rush/distribution-server
distribution log-rush logging logs remote-logging service
Last synced: 5 months ago
JSON representation
A simple log-rush log distribution server
- Host: GitHub
- URL: https://github.com/log-rush/distribution-server
- Owner: log-rush
- License: mit
- Created: 2022-04-25T17:11:07.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-09-02T16:33:04.000Z (almost 4 years ago)
- Last Synced: 2026-01-14T23:19:45.970Z (5 months ago)
- Topics: distribution, log-rush, logging, logs, remote-logging, service
- Language: Go
- Homepage:
- Size: 229 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# log-rush-distribution-server
A log distribution server implementing the log-rush datasource spec.
This service aims to be:
- an entry into the log-rush ecosystem
- an example implementation of the log-rush datsource spec
- the source code, on whose top the docs get generated
## Get Started
1. Install Go 1.18 (for instructions see [here](https://go.dev/doc/install))
2. Clone this repository
- ssh: `git clone git@github.com:log-rush/distribution-server.git`
- https: `git clone https://github.com/log-rush/distribution-server.git`
- github cli: `gh repo clone log-rush/distribution-server`
3. Install dependencies: `go mod download`
4. Build the binary: `sh ./scripts/build.sh`
5. Run the binary `./log-rush-server`
(alt. using go run) `go run ./app/main.go`
A server will start on localhost:7000 with the swagger docs at [http://localhost:7000/swagger/index.html](http://localhost:7000/swagger/index.html)
### Generate Swagger Docs
Run `sh ./scripts/swagger.sh`