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

Issue #12: implement DataSourceWithLogsContextSupport interface #23

Merged
merged 8 commits into from
Nov 24, 2023
13 changes: 9 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,20 @@ You need:

### Building

### All the stack

```shell
./build_and_start.sh
```

#### Frontend

```bash
$ yarn install
$ yarn build
$ npm install
$ npm run build
```

When developing the front, use `yarn dev`.
When developing the front, use `npm run dev`.

#### Backend

Expand Down Expand Up @@ -49,7 +55,6 @@ $ npm run test
$ go test -v ./pkg/...
```


## Release

TODO
6 changes: 6 additions & 0 deletions build_and_start.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/usr/bin/env bash

npm install
npm run build
mage -v
docker-compose up --build --force-recreate
6 changes: 4 additions & 2 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ services:
volumes:
- ./:/var/lib/grafana/plugins/grafana-quickwit-datasource
- ./provisioning:/etc/grafana/provisioning
# - ./grafana/storage:/var/lib/grafana
# - ./grafana/grafana.ini:/etc/grafana/grafana.ini
- gquickwit:/var/lib/grafana
extra_hosts:
- "host.docker.internal:host-gateway"

volumes:
gquickwit:
Loading