oasislabs / game-box

A Truffle box for a barebones Oasis Game
4 stars 3 forks source link

No data received when running `npm start` outside of contract-kit #15

Closed daviddao closed 5 years ago

daviddao commented 5 years ago

Using MacOS and running npm start outside of contract-kit I can't access localhost via Chrome when deploying with --network oasis. To fix this issue, I had to enter contract-kit via port forwarding: docker run -ti --rm -v "$PWD":/project -p8545:8545 -p8546:8546 -p8080:8080 oasislabs/contract-kit:latest /bin/bash and run npm start within the container.

clementfung commented 5 years ago

Thanks for the feedback! I updated the README, it's safer to just assume npm start is run from within contract-kit.