title: Hyperledger Fabric - Could not start peer - "Could not find genesis.yaml"
body: <p>I wanted to natively build the code, so I downloaded the code and the <code>make</code> was successful for <code>peer</code> and <code>membersrvc</code>. I built it on a CentOS VM running on VirtualBox.<br>
  Now, when I attempt to run peer, it throws up the below error; unfortunately, I could not find a relevant documentation that could help me resolve this.</p>
  
  <pre><code>$ ./peer node start
  2017-03-09 05:12:33.017 EST [common/configtx/test] 1 -&gt; CRIT 001 Could not find genesis.yaml, try setting PEER_CFG_PATH, ORDERER_CFG_PATH, or GOPATH correctly
  panic: Could not find genesis.yaml, try setting PEER_CFG_PATH, ORDERER_CFG_PATH, or GOPATH correctly
  
  goroutine 1 [running]:
  github.com/hyperledger/fabric/vendor/github.com/op/go-logging.(*Logger).Panicf(0xc4201de930, 0xccb574, 0x5d, 0x0, 0x0, 0x0)
          /root/go-dev/src/github.com/hyperledger/fabric/vendor/github.com/op/go-logging/logger.go:194 +0x11e
  github.com/hyperledger/fabric/common/configtx/test.init.1()
          /root/go-dev/src/github.com/hyperledger/fabric/common/configtx/test/helper.go:72 +0x3c7
  github.com/hyperledger/fabric/common/configtx/test.init()
          /root/go-dev/src/github.com/hyperledger/fabric/common/configtx/test/helper.go:113 +0xb1
  github.com/hyperledger/fabric/peer/channel.init()
          /root/go-dev/src/github.com/hyperledger/fabric/peer/channel/join.go:140 +0x91
  main.init()
          /root/go-dev/src/github.com/hyperledger/fabric/peer/main.go:148 +0x82
  </code></pre>
  
  <p>I could start membersrvc without errors.<br>
  Any clue?<br>
  Can someone point me to a relevant documentation on "setting PEER_CFG_PATH, ORDERER_CFG_PATH". I tried setting environment variables rather than updating a configuration file - which did not help.</p>
  
  <p>Thanks!</p>