Skip to content

Commit 95614fa

Browse files
committed
Actually test the datasouce when 'save and test'
1 parent 4713b30 commit 95614fa

15 files changed

+494
-17
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
node_modules/
2+
.gradle/

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,21 @@ The dashboard in `examples\Sensor Values Count - Atlas.json` shows this.
109109

110110
This launch ctrl plist runs the node script via forever. To check it's running, use `forever list`. Logs go into /usr/local/var/lib/grafana/plugins/mongodb-grafana/dist/server
111111

112+
## Development
113+
114+
To run grafana against a dev version of the plugin on a mac using grafana installed via Homebrew
112115

116+
* Stop the grafana service `brew services stop grafana`
117+
* Open a command prompt in /debugging
118+
* Run ./start_grafana.sh
119+
* Alter code
120+
* npm run build to build the UI
121+
* Developer tools -> empty cache and hard reload
122+
123+
Note
124+
125+
* Homebrew grafana versions in /usr/local/Cellar
126+
113127

114128

115129

0 commit comments

Comments
 (0)