Skip to content

Commit

Permalink
Add ddev start for the host command (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
stasadev authored Dec 12, 2023
1 parent bc0c9f8 commit 3f85506
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions commands/host/adminer
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
## Usage: adminer
## Example: "ddev adminer"

if [ "${DDEV_PROJECT_STATUS-running}" != "running" ]; then
echo "Project ${DDEV_PROJECT} is not running, starting it"
ddev start
fi

DDEV_ADMINER_PORT=9100
DDEV_ADMINER_HTTPS_PORT=9101

Expand Down

0 comments on commit 3f85506

Please sign in to comment.