-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Readme updates #5511
Conversation
|
||
```shell | ||
$ ./cockroach start --insecure & | ||
$ ./cockroach start --insecure --store=node2-data --port=26258 --http-port=8081 --join=localhost:26257 & |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
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). |
There was a problem hiding this comment.
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]"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, fixing.
LGTM |
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](https://camo.githubusercontent.com/23b05f5fb48215c989e92cc44cf6512512d083132bd3daf689867c8d9d386888/68747470733a2f2f72657669657761626c652e696f2f7265766965775f627574746f6e2e737667)