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

feat(*): Add redis-commander command #18

Merged
merged 2 commits into from
Oct 24, 2024

Conversation

julienloizelet
Copy link
Collaborator

@julienloizelet julienloizelet commented Oct 23, 2024

The Issue

This PR follows this comment: #17 (comment)

I've also updated the README with up to date information.

How This PR Solves The Issue

It adds a ddev redis-commander command to launch the Web interface easily.

Manual Testing Instructions

Automated Testing Overview

I've added a test for the command

Related Issue Link(s)

Release/Deployment Notes

@julienloizelet julienloizelet self-assigned this Oct 23, 2024
@@ -0,0 +1,23 @@
#!/bin/bash
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I've tried to avoid hard-coding the PORTs. (like in phpmyadmin or xhgui). But I don't know if my implementation may have side effects or not.

Copy link
Member

Choose a reason for hiding this comment

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

I like it.

We have this issue:

I think something similar can be done with golang in the future.

Copy link
Member

@stasadev stasadev left a comment

Choose a reason for hiding this comment

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

Looks good to me, thank you!

I tested a regular setup and then did the same in Gitpod with:

ddev add-on get ddev/ddev-redis
ddev add-on get https://github.com/julienloizelet/ddev-redis-commander/tarball/feat/redis-commander-command
ddev restart
ddev redis-commander

@@ -0,0 +1,23 @@
#!/bin/bash
Copy link
Member

Choose a reason for hiding this comment

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

I like it.

We have this issue:

I think something similar can be done with golang in the future.

@julienloizelet julienloizelet merged commit 3a82d77 into ddev:main Oct 24, 2024
2 checks passed
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.

2 participants