Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Readme updates #5511

Merged
merged 11 commits into from
Mar 24, 2016
Merged

Readme updates #5511

merged 11 commits into from
Mar 24, 2016

Conversation

jseldess
Copy link
Contributor

Cleaned up the cockroach readme.md and added links to docs where relevant. I didn't end up doing much with the Design Overview section; I feel like I need more time for that, and would like to revisit once other beta docs are done.

@spencerkimball, @bdarnell, @petermattis


This change is Reviewable

@jseldess jseldess added this to the Beta milestone Mar 23, 2016

```shell
$ ./cockroach start --insecure &
$ ./cockroach start --insecure --store=node2-data --port=26258 --http-port=8081 --join=localhost:26257 &
Copy link
Contributor

Choose a reason for hiding this comment

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

The first node is in cockroach-data. We should either pass --store=node1-data to the first node or use cockroach-data2 and cockroach-data3 for the others.

The binary should be on your path after installation, not in the current directory, so these commands should start with cockroach instead of ./cockroach.

Should the quickstart be three nodes or just one, with the multi-node setup left for the full docs? I'm not sure.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good point about the store directories. I'll fix that.

As for using cockroach instead of ./cockroach, it's added to your path only if you do go get (build from source), right? All the other more likely methods (download binary, homebrew) won't automatically add it to the path. So it seems safest to not assume anything about the path and just use ./cockroach, no?

For one vs. three nodes, it feels to me valuable to demonstrate just how easy it is to add nodes on different ports, but I can change if you and others feel strongly about this.

Copy link
Contributor

Choose a reason for hiding this comment

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

brew adds it to your path; the other methods we currently document generally don't automatically(make install from source might do it, depending on your setup). However, I think we should encourage people doing a manual install to put the binary on their path instead of running with a data directory underneath where they untarred the binary.

In the future when we offer "real" packages for apt-get or similar, they'll put the binary on the path.

@bdarnell
Copy link
Contributor

LGTM


Now let's talk to this node. The easiest way to do that is to use the `cockroach` binary - it comes with a built-in sql client:
5. Learn how to [secure a cluster](https://www.cockroachlabs.com/docs/secure-a-cluster.html).
Copy link
Member

Choose a reason for hiding this comment

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

How about make this less daunting: "CockroachDB makes it easy to [secure a cluster]"

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yep, fixing.

@spencerkimball
Copy link
Member

LGTM

@jseldess jseldess merged commit abd8423 into cockroachdb:master Mar 24, 2016
@jseldess jseldess deleted the jseldess/readme-updates branch March 24, 2016 14:47
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.

None yet

4 participants