@@ -22,57 +22,42 @@ each individual to inspect the code to understand the consensus rules.
2222
2323# Quickstart
2424
25- Just want to get up and running quickly? Try deploying a prebuilt
26- dockerized container. Both common binary types are included.
25+ Just want to get up and running quickly? Try deploying a prebuilt dockerized container.
26+
27+ ```
28+ sudo docker run -d \
29+ -p 4243:4243 \
30+ -p 8090:8090 \
31+ -p 8091:8091 \
32+ --name golos-default goloschain/golos:latest
33+ ```
34+
35+ To attach to the golosd you should use the cli_wallet:
36+ ```
37+ sudo docker exec -ti golos-default \
38+ /usr/local/bin/cli_wallet \
39+ --server-rpc-endpoint="ws://127.0.0.1:8091"
40+ ```
2741
28- ## Dockerized p2p Node
29-
30- To run a p2p node (ca. 2GB of memory is required at the moment):
31-
32- docker run \
33- -d -p 2001:2001 -p 8090:8090 --name golos-default \
34- goloschain/golos
35-
36- docker logs -f golos-default # follow along
37-
38- ## Dockerized Full Node
42+ # Building
3943
40- To run a node with * all * the data (e.g. for supporting a content website)
41- that uses ca. 14GB of memory and growing:
44+ See the [ build instruction ] ( https://github.com/GolosChain/golos/wiki/Build-instruction ) , which contains
45+ more information about configuring, building and running of docker containers.
4246
43- docker run \
44- --env USE_WAY_TOO_MUCH_RAM=1 \
45- -d -p 2001:2001 -p 8090:8090 --name golos-full \
46- goloschain/golos
47+ # Testing
4748
48- docker logs -f golos-full
49+ ```
50+ git clone https://github.com/GolosChain/golos.git
51+ cd golos
52+ sudo docker rm local/golos-test
53+ sudo docker build -t local/golos-test -f share/golosd/docker/Dockerfile-test .
54+ ```
4955
5056# Seed Nodes
5157
5258A list of some seed nodes to get you started can be found in
53- [ documentation/ seednodes] ( documentation /seednodes) .
59+ [ share/golosd/ seednodes] ( share/golosd /seednodes) .
5460
5561This same file is baked into the docker images and can be overridden by
5662setting ` STEEMD_SEED_NODES ` in the container environment at ` docker run `
5763time to a whitespace delimited list of seed nodes (with port).
58-
59- # How to Mine
60-
61- The mining algorithm used by Golos requires the owner to have access to the
62- private key used by the account. This means it does not favor mining pools.
63-
64- ./golosd --miner=["accountname","${WIFPRIVATEKEY}"] \
65- --witness="accountname" --seed-node="95.85.13.229:2225"
66-
67- Make sure that your accountname is unique and not already used by someone
68- else or your proof of work might not be accepted by the blockchain.
69-
70- # Building
71-
72- See [ documentation/building.md] ( documentation/building.md ) for detailed build instructions, including
73- compile-time options, and specific commands for Linux (Ubuntu LTS) or macOS X.
74-
75- # Testing
76-
77- See [ documentation/testing.md] ( documentation/testing.md ) for test build targets and info
78- on how to use lcov to check code test coverage.
0 commit comments