I have created hyperledger 2.2 setup on my machine using test-network by below step
./network.sh up createChannel -ca -c mychannel -s couchdb -i 2.2.