Skip to content

docs: automated local/remote testnet instructions#2271

Merged
cwgoes merged 5 commits intodevelopfrom
zach/docs-fixes
Sep 19, 2018
Merged

docs: automated local/remote testnet instructions#2271
cwgoes merged 5 commits intodevelopfrom
zach/docs-fixes

Conversation

@zramsay
Copy link
Contributor

@zramsay zramsay commented Sep 8, 2018

#1932

  • Targeted PR against correct branch (see CONTRIBUTING.md)

  • Linked to github-issue with discussion and accepted design OR link to spec that describes this work.

  • Wrote tests

  • Updated relevant documentation (docs/)

  • Added entries in PENDING.md with issue #

  • rereviewed Files changed in the github PR explorer


For Admin Use:

  • Added appropriate labels to PR (ex. wip, ready-for-review, docs)
  • Reviewers Assigned
  • Squashed all commits, uses message "Merge pull request #XYZ: [title]" (coding standards)

@codecov
Copy link

codecov bot commented Sep 8, 2018

Codecov Report

Merging #2271 into develop will decrease coverage by 1.05%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop    #2271      +/-   ##
===========================================
- Coverage    64.78%   63.73%   -1.06%     
===========================================
  Files          137      140       +3     
  Lines         8471     8642     +171     
===========================================
+ Hits          5488     5508      +20     
- Misses        2620     2755     +135     
- Partials       363      379      +16

Copy link
Contributor

@fedekunze fedekunze left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Left a few minor comments only

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd put this as steps outside the code square and only de bash commands with ``

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think it's fine the way it is. Actually kinda like big code blocks like this in documentation and find there isn't enough of it

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing space

Copy link
Contributor

@jackzampolin jackzampolin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have some changes that should be made to the make localnet-start section. Also we need to include some CLI/RPC commands for generating transactions in the test environment/hooking up a light client to the test environment.


The nodes bind their RPC servers to ports 26657, 26660, 26662, and 26664 on the host.
This file creates a 4-node network using the gaiadnode image.
The nodes of the network expose their P2P and RPC endpoints to the host machine on ports 26656-26657, 26659-26660, 26661-26662, and 26663-26664 respectively.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe make this into a table?

Node ID P2P Port RPC Port
gaianode0 26656 26657
gaianode1 26659 26660
gaianode2 26661 26662
gaianode3 26663 26664

make localnet-start
```

The nodes bind their RPC servers to ports 26657, 26660, 26662, and 26664 on the host.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See below comment


### Logging

Logs are saved under the attached volume, in the `gaiad.log` file and written to the screen.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think they are written to screen anymore (-d in the docker-compose command) also the log file name shows up on my local (not container) FS as ${LOG:-gaiad.log}.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe have the sample command for tailing the logs listed here: tail -f build/node0/gaiad.log

Copy link
Contributor

@cwgoes cwgoes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK

@cwgoes cwgoes merged commit fcd32c2 into develop Sep 19, 2018
@cwgoes cwgoes deleted the zach/docs-fixes branch September 19, 2018 18:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants