Skip to content

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

atpugtihsrah
Copy link
Contributor

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

  • How are users affected by this change: None
  • Is this breaking change: No
  • How to migrate (if breaking change): NA

@atpugtihsrah atpugtihsrah force-pushed the local-dev-env-5776 branch from e0fa215 to a212421 Compare May 4, 2025 08:42
@atpugtihsrah
Copy link
Contributor Author

@t-kikuc This is what I had in mind. What do you think?

Copy link
Member

@t-kikuc t-kikuc left a 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
Copy link
Member

Choose a reason for hiding this comment

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

[nit]

Suggested change
### Run Pipecd Control Plane
### Run PipeCD Control Plane

Comment on lines +200 to +201
# Base64 encoded string of the piped private key. You can generate it by the following command.
# echo -n "your-piped-key" | base64
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
# 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.
Copy link
Member

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)

Suggested change
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
Copy link
Member

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

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.

Document how to start local development environment
2 participants