ic-hs icon indicating copy to clipboard operation
ic-hs copied to clipboard

Documentation for running with dfx is out-of-date

Open kritzcreek opened this issue 4 years ago • 1 comments

The README.md states:

The ic-ref program starts a webserver at http://0.0.0.0:8001/ that implements the Internet Computer interface, and can be used with dfx --client http://0.0.0.0:8001/.

But dfx doesn't understand that command. I think at this point the correct way to do this is to use icx-proxy, right? We should update the docs to reflect that.

kritzcreek avatar Jul 21 '21 08:07 kritzcreek

You only need icx-proxy if you want HTTP gateway feature.

The above refers to dfx-the-CLI-agent, but it no longer has that parameter. Instead, you need to configure a ephemeral network in dfx.json. or tell ic-ref to use the port of the default local network.

nomeata avatar Jul 21 '21 15:07 nomeata