$curl https://install.meteor.com/ | sh
1. Meteor and npm have a wierd bug. Configure the proxies as follows.
'''
npm config set proxy http://user:[email protected]:8080
npm config set https-proxy http://user:[email protected]:8080
export HTTP_PROXY=http://user:[email protected]:8080
export HTTPS_PROXY=http://user:[email protected]:8080
'''
$ipfs config --json API.HTTPHeaders.Access-Control-Allow-Origin '["http://localhost:3000", "http://localhost:5001"]'
$ipfs config --json API.HTTPHeaders.Access-Control-Allow-Methods '["PUT", "GET", "POST"]'
$ipfs config --json API.HTTPHeaders.Access-Control-Allow-Credentials '["true"]'
$ipfs daemon
$geth --datadir path/to/dataDir init path/to/genesis.json
$geth --identity "nodeB" --rpc --rpcport "8000" --rpccorsdomain "*" --datadir "./d1" --port "PORT" --ipcapi "admin,db,eth,debug,miner,net,shh,txpool,personal,web3" --rpcapi "db,eth,net,web3" --autodag --networkid 1900 --nat "any" console
# Each node should have different PORT
$cd path/to/scratch/
$meteor
[Refer here](https://github.com/ethereum/go-ethereum/wiki/Contract-Tutorial).
After deploying find the contract address as ContractObj.address
Change the '''address=\'...\' ''' line in scratch/client/lib/init.js to this address.
personal.newAccount("<<Password>>")
personal.unlockAccount(eth.accounts[0],"<<Passowrd>>")
miner.start()
miner.stop()