Code Monkey home page Code Monkey logo

ddev-addon-template'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-addon-template's People

Contributors

gitressa avatar joachim-n avatar julienloizelet avatar mattstein avatar murznn avatar paul-m avatar ptmkenny avatar rfay avatar rpkoller avatar stasadev avatar timkelty avatar tyler36 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

ddev-addon-template's Issues

Remaining drud->ddev migration changes

Remaining work:

  • References in the README to projects that haven't been moved yet
  • brew install drud/ddev/ddev references have to be changed, especially if those don't work after migration.

add "keepalive-workflow"

"
GitHub will suspend the scheduled trigger for GitHub action workflows if there is no commit in the repository for the past 60 days. The cron based triggers won't run unless a new commit is made. It shows the message "This scheduled workflow is disabled because there hasn't been activity in this repository for at least 60 days" under the cronjob triggered action.
"

DDEV addons will become stable at some point and no longer require frequent commits. However, we still need to runs tests against newer versions of DDEV.

Enter https://github.com/gautamkrishnar/keepalive-workflow

We need to:

  • add keepalive workflow to workflow template
  • document why it is there

Create a GitHub action that does some of the repetitive work of test workflow

The test workflows for this template are repeated in every copied repo, so everything has to be updated when anything breaks, like

But I would think we could create a GitHub action that would package up most of the setup that we do, and then the action could be updated instead of having every add-on repo needing to be updated.

I would think that at least this could be done by an action:

- uses: actions/checkout@v3
- name: Set up Homebrew
id: set-up-homebrew
uses: Homebrew/actions/setup-homebrew@master
- name: Environment setup
run: |
brew install bats-core mkcert
mkcert -install

and probably this too:

- name: Download docker images
run: mkdir junk && pushd junk && ddev config --auto && ddev debug download-images >/dev/null

Any interest @tyler36 or anybody else? Could be fun!

LICENSE file has `Copyright [yyyy] [name of copyright owner]`

The README should mention that the LICENSE file's copyright info should be updated after using the template.

In addition, does this project have a copyright? If so, how would you show that in the license without other projects accidentally copying it?

README should mention that you can do `ddev get PATH`

The README says to push to github and then:

Test manually with ddev get <owner/repo>.

But AFAICT, you can muck about with this locally and do: ddev get PATH-TO-LOCAL-CLONE.

(This is based on doing that and then ddev restart, I have no idea if things might go wrong beyond that.)

bats-assert and bats-file libraries not actually loaded

Although we brew install bats-aassert bats-file we don't actually load them properly, so they're not available for use. brew info bats-assert for example tells us:

==> Caveats

To load the bats-assert lib in your bats test:

    load '/home/linuxbrew/.linuxbrew/lib/bats-support/load.bash'
    load '/home/linuxbrew/.linuxbrew/lib/bats-assert/load.bash'
==> Caveats

To load the bats-file lib in your bats test:

    load '/home/linuxbrew/.linuxbrew/lib/bats-support/load.bash'
    load '/home/linuxbrew/.linuxbrew/lib/bats-file/load.bash'

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.