title: Unable to run Grafana server on local system
body: <p>I have to create a plugin for Grafana. For that i cloned the code from Github and followed <a href="https://grafana.com/docs/grafana/v6.1/project/building_from_source/" rel="nofollow noreferrer">this</a>. I have managed to build the grafana but having issue in running the server. I am getting the error </p>
  
  <pre><code>Grafana-server Init Failed: Could not find config defaults, make sure homepath command line parameter is set or working directory is homepath
  </code></pre>
  
  <p>I did find this issue at <a href="https://community.grafana.com/t/grafana-home-path-on-windows/430" rel="nofollow noreferrer">issue</a>. I have copied the "sample.ini" and re-named it to "custom.ini" and used the following commands in the bin folder made after building the grafana</p>
  
  <pre><code>.\grafana-server.exe --config D:\Go-UpdatedWorkSpace\grafana\conf\custom.ini
  
  .\grafana-server.exe D:\Go-UpdatedWorkSpace\grafana\conf\custom.ini
  
  .\grafana-server.exe -config D:\Go-UpdatedWorkSpace\grafana\conf\custom.ini
  
  .\grafana-server.exe -config "D:\Go-UpdatedWorkSpace\grafana\conf\custom.ini"
  
  .\grafana-server.exe --config "D:\Go-UpdatedWorkSpace\grafana\conf\custom.ini"
  
  .\grafana-server.exe "D:\Go-UpdatedWorkSpace\grafana\conf\custom.ini"
  </code></pre>
  
  <p>But non of them worked. I am still getting the error</p>
  
  <pre><code>Grafana-server Init Failed: Could not find config defaults, make sure homepath command line parameter is set or working directory is homepath
  </code></pre>
  
  <p>What am i doing wrong ? I am new to Grafana development, any help would be much appreciated. </p>