diff --git a/.gitpod.yml b/.gitpod.yml new file mode 100644 index 0000000000..8585b4a255 --- /dev/null +++ b/.gitpod.yml @@ -0,0 +1,18 @@ +tasks: + - init: + make build + command: | + gp sync-done build + ./prometheus --config.file=documentation/examples/prometheus.yml + - command: | + cd web/ui/react-app + gp sync-await build + unset BROWSER + export DANGEROUSLY_DISABLE_HOST_CHECK=true + yarn start + openMode: split-right +ports: + - port: 3000 + onOpen: open-preview + - port: 9090 + onOpen: ignore diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 413132ce91..2691af055f 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -28,6 +28,8 @@ Should you wish to work on an issue, please claim it first by commenting on the Please check the [`low-hanging-fruit`](https://github.com/prometheus/prometheus/issues?q=is%3Aissue+is%3Aopen+label%3A%22low+hanging+fruit%22) label to find issues that are good for getting started. If you have questions about one of the issues, with or without the tag, please comment on them and one of the maintainers will clarify it. For a quicker response, contact us over [IRC](https://prometheus.io/community). +You can [spin up a prebuilt dev environment](https://gitpod.io/#https://github.com/prometheus/prometheus) using Gitpod.io. + For complete instructions on how to compile see: [Building From Source](https://github.com/prometheus/prometheus#building-from-source) For quickly compiling and testing your changes do: diff --git a/README.md b/README.md index 0149d8e93c..202af303a3 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,7 @@ [![Go Report Card](https://goreportcard.com/badge/github.com/prometheus/prometheus)](https://goreportcard.com/report/github.com/prometheus/prometheus) [![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/486/badge)](https://bestpractices.coreinfrastructure.org/projects/486) [![fuzzit](https://app.fuzzit.dev/badge?org_id=prometheus&branch=master)](https://fuzzit.dev) +[![Gitpod ready-to-code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/prometheus/prometheus) Visit [prometheus.io](https://prometheus.io) for the full documentation, examples and guides.