Giter Club home page Giter Club logo

ddev-adminer's Introduction

DDEV logo with light and dark mode variants

CircleCI project is maintained Gitpod Ready-to-Code Open in GitHub Codespaces

DDEV is an open-source tool for running local web development environments for PHP, Python and Node.js, ready in minutes. Its powerful, flexible per-project environment configurations can be extended, version controlled, and shared. DDEV allows development teams to adopt a consistent Docker workflow without the complexities of bespoke configuration.

Documentation

To check out live examples, docs, contributor live training, guides and more visit ddev.com and ddev.readthedocs.io

Questions

If you need help, our friendly community provides great support.

Wonderful Sponsors

DDEV is an Apache License 2.0 open-source project with its ongoing development made possible entirely by the support of these awesome backers. If you'd like to join them, please consider sponsoring DDEV development.

DDEV Sponsor logos with light and dark mode variants

Contributing

See “How can I contribute to DDEV?” in the FAQ, and the Contributing page.

Overview of GitHub contributions

Get Started

  1. Check System Requirements: macOS (Intel and Apple Silicon), Windows 10/11, WSL2, Linux, Gitpod, and GitHub Codespaces.
  2. Install a Docker provider and DDEV.
  3. Try a CMS Quick Start Guide.

Additionally, https://ddev.com/get-started/ provides an up-to-date getting-started guide.

Highlighted Features

  • Quickly create local web development environments based on code repositories, with minimal configuration.
  • Import a database to any of your local environments.
  • Import upload files to match the project (e.g. Drupal sites/default/files or WordPress wp-content/uploads).
  • Customizable integration with hosting platforms like Platform.sh, Pantheon, Acquia and others.
  • Run commands within the Docker environment using ddev exec.
  • View logs from the web and database containers.
  • Use ddev ssh to explore the Linux environment inside the container.
  • List running projects with ddev list.
  • Snapshot databases with ddev snapshot.
  • Temporarily share your development website with others using ddev share.
  • Create custom commands as simple shell scripts.
  • Enjoy effortless, trusted HTTPS support.
  • Extend and customize environments as much (or as little!) as you need to.

Run ddev to see all the commands.

ddev-adminer's People

Contributors

ayacoo avatar bserem avatar mejta avatar rfay avatar stasadev avatar tyler36 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

ddev-adminer's Issues

Cannot add adminer to my project (Docker: error getting credentials - err: exec: "docker-credential-desktop"

I cannot add adminer to the new drupal project. I can add and use PhpMyAdmin though. I am posting here, but to be honest I don't know if the problem is here or maybe in https://hub.docker.com/_/adminer.
Can you please direct me on how to solve this, or what else can I try?

Thank you,
Gašper

~/D/t/o/drupal $ ddev get ddev/ddev-adminer
Installing ddev/ddev-adminer:v0.2.2
Downloading https://api.github.com/repos/ddev/ddev-adminer/tarball/v0.2.2
v0.2.2_3499327078.tar.gz 7.94 KiB / ? [------------------------------------------------------------=----------------------------] 81.29% 0s

Installing project-level components:
👍 docker-compose.adminer.yaml
👍 adminer/Dockerfile
👍 adminer/ddev-login.php

Installing global components:
👍 commands/host/launcha

Installed DDEV add-on ddev/ddev-adminer, use ddev restart to enable.
Please read instructions for this addon at the source repo at
https://github.com/ddev/ddev-adminer
Please file issues and create pull requests there to improve it.
Installed adminer:v0.2.2 from ddev/ddev-adminer
~/D/t/o/drupal $ ddev restart
Restarting project drupal...
Container ddev-drupal-phpmyadmin Stopped
Container ddev-drupal-db Stopped
Container ddev-drupal-web Stopped
Container ddev-drupal-web Stopped
Container ddev-drupal-phpmyadmin Stopped
Container ddev-drupal-phpmyadmin Removed
Container ddev-drupal-db Stopped
Container ddev-drupal-db Removed
Container ddev-drupal-web Removed
Network ddev-drupal_default Removed
failed to solve: rpc error: code = Unknown desc = failed to solve with frontend dockerfile.v0: failed to create LLB definition: rpc error: code = Unknown desc = error getting credentials - err: exec: "docker-credential-desktop": executable file not found in $PATH, out: Failed to restart drupal: docker-compose build failed: ComposeCmd failed to run 'COMPOSE_PROJECT_NAME=ddev-drupal docker-compose -f /Users/gasperznidarsicbecaj/Delo/tadeja/online-feldenkrais/drupal/.ddev/.ddev-docker-compose-full.yaml --progress=quiet build', action='[--progress=quiet build]', err='exit status 17', stdout='', stderr='failed to solve: rpc error: code = Unknown desc = failed to solve with frontend dockerfile.v0: failed to create LLB definition: rpc error: code = Unknown desc = error getting credentials - err: exec: "docker-credential-desktop": executable file not found in $PATH, out:', output='', stderr='failed to solve: rpc error: code = Unknown desc = failed to solve with frontend dockerfile.v0: failed to create LLB definition: rpc error: code = Unknown desc = error getting credentials - err: exec: "docker-credential-desktop": executable file not found in $PATH, out: ``'

Initial testing... worked great with Postgres

I've been using postgres on my go-to test project lately so I just tried that out of the box... and it worked perfectly. Had to change the database type to Postgres of course.

ddev get bserem/ddev-adminer && ddev restart then ddev describe to find the port.

I don't recommend using port 8080, recommend using something much less familiar. Lots of people use 8080 for the web server (ddev-router), so this would conflict. How about changing it to 11111 or something?

Webroot folder for importing large dump files?

Adminer offers an easy import function for large files:
You can just place a file named adminer.sql[.gz] into the adminer webroot.
Then, click on Import > From server > Webserver file adminer.sql[.gz] > Run file.
Is this possible with ddev-adminer?

Maintainance status

@rfay a recent company switch has sadly moved me away from DDEV, at least for the time being. This means that I can't dedicate as much time as I used/want to in DDEV.

I've already made you a maintainer of this project several weeks ago, when I saw things coming, but wanted to officially update you about the current situation.
Please feel free to move this under ddev contrib if/when you want.

I hope I can join ddev again soon and maybe bring more people along, but at the moment it is not an option.

Thanks for all your efforts! See ya around

ddev adminer does not install anymore

Hi there,
i keep getting the following error when trying to install or run the ddev adminer:

Unable to get releases for ddev-adminer: Get "https://api.github.com/repos/ddev/ddev-adminer/releases": dial tcp 140.82.121.5:443: i/o timeout
resp.Rate=github.Rate{Limit:0, Remaining:0, Reset:github.Timestamp{0001-01-01 00:00:00 +0000 UTC}}

Any Idea about this?

Remove `launcha` Feb 2024

In

ddev launcha -a is replaced by ddev adminer

The new way is much better but we don't want to surprise people. But after a respectful interval (Feb 2024) we can remove launcha.

Alternately, we can replace launcha now with something that just says "Use ddev adminer"

Auto-login to database

Right now it's a pain to log into the database, even though the credentials are easy, but there ought to be a way.

I was just studying https://hub.docker.com/_/adminer and ... not a word!

We can certainly add a build: to the docker-compose.adminer.yaml, but weirdly it doesn't claim anything that you can do. Maybe we have to look a little more at adminer itself.

More significant test coverage

It would be nice to do just a little bit more with the tests, like a curl to the url to make sure it has adminer-stuff in it.

This will probably help:

$ ddev describe -j | jq -r .raw.services.adminer
{
  "exposed_ports": "8080",
  "full_name": "ddev-d9-adminer",
  "host_ports": "",
  "http_url": "http://d9.ddev.site:8080",
  "image": "adminer:standalone",
  "status": "running"
}

Or of course,

$ ddev describe -j | jq -r .raw.services.adminer.http_url
http://d9.ddev.site:8080

I'm assuming jq is in the github test image, but it may not be. It's easy to apt-get it in there.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.