提交 f6a93239 编写于 作者: S Serg Metelin

Updating README.md to show a clean path to setup a simple node on clean install of Ubuntu 16.10

上级 6c53c027
......@@ -209,20 +209,6 @@ plugin = eos::chain_api_plugin
plugin = eos::http_plugin
```
When running eosd in the docker container you need to instruct the cpp socket to accept connections from all interfaces. Adjust any address you plan to use by changing from `127.0.0.1` to `0.0.0.0`.
For example:
```
# The local IP and port to listen for incoming http connections.
http-server-endpoint = 0.0.0.0:8888
```
After starting the Docker this can be tested from container's host machine:
```commandline
curl http://127.0.0.1:8888/v1/chain/get_info
```
Now it should be possible to run `eosd` and see it begin producing blocks. At present, the P2P code is not implemented, so only single-node configurations are possible. When the P2P networking is implemented, these instructions will be updated to show how to create an example multi-node testnet.
### Create accounts for your smart contracts
......@@ -289,6 +275,20 @@ sudo mkdir -p /data/store/eos
docker-compose -f docker-compose.yml up
```
When running eosd in the docker container you need to instruct the cpp socket to accept connections from all interfaces. Adjust any address you plan to use by changing from `127.0.0.1` to `0.0.0.0` in your `Docker/config.ini` file.
For example:
```
# The local IP and port to listen for incoming http connections.
http-server-endpoint = 0.0.0.0:8888
```
After starting the Docker this can be tested from container's host machine:
```commandline
curl http://127.0.0.1:8888/v1/chain/get_info
```
### Run example contracts
```commandline
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册