-
Notifications
You must be signed in to change notification settings - Fork 168
Add documentation on a single page on how to start a local dev env #5798
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
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: Harshit Gupta <[email protected]>
e0fa215
to
a212421
Compare
@t-kikuc This is what I had in mind. What do you think? |
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.
@atpugtihsrah
Thank you so much!!! Amazing! Almost LGTM.
I left some nit comments.
Later let's add links to this file somewhere (e.g. quickstart docs)
|
||
Run `make kind-down` to stop and delete the registery and the cluster. | ||
|
||
### Run Pipecd Control Plane |
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.
[nit]
### Run Pipecd Control Plane | |
### Run PipeCD Control Plane |
# Base64 encoded string of the piped private key. You can generate it by the following command. | ||
# echo -n "your-piped-key" | base64 |
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.
# Base64 encoded string of the piped private key. You can generate it by the following command. | |
# echo -n "your-piped-key" | base64 | |
# Base64 encoded string of the piped private key. |
Now we can directly get a base64-encoded key.
|
||
This will create the kubernetes namespace `pipecd` if it does not exist and start a local registry in the namespace which can then be accessed by other components. | ||
|
||
Run `make kind-down` to stop and delete the registery and the 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.
[nit] I want to clarify that this line is necessary only when cleaning up. (Or, create a ### Cleaning up
section)
Run `make kind-down` to stop and delete the registery and the cluster. | |
When cleaning up, run `make kind-down` to stop and delete the registery and the cluster. |
Run
make stop/pipecd
to stop PipeCD Control Plane. (L171)
the same
@@ -152,6 +152,73 @@ If your change introcudes a user-facing change, please update the following sect | |||
|
|||
Note that if it's a new breaking change, make sure to complete the two latter questions. | |||
|
|||
## Starting a Local Development Environment |
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.
Let's move this new section to under "Development"
## Development
...
Note: While working with the PipeCD codebase, you may refer to [Makefile](./Makefile) for useful commands.
### Starting a Local Development Environment //HERE
...
### Online one-click setup for contributing
What this PR does: It adds a single documentation on a single page on how to start a local dev env.
Why we need it: What I needed to speed up contribution was a single documentation. This PR should be helpful for new contributors to start a local dev env faster.
Which issue(s) this PR fixes: Closes #5776
Fixes #
Does this PR introduce a user-facing change?: No