/elephant-in-containers

PHP Meetup presentation about developing in PHP with Docker

Primary LanguageHTMLMIT LicenseMIT

How to put an elephant in a container

Developing in PHP with Docker.

https://elephant-in-containers.carcel.dev/

How to use the presentation

  • Install the dependencies:

    $ docker compose run --rm node yarn install --frozen-lockfile --check-files
  • Use the development server to serve the presentation and have hot-reloading while coding:

    $ docker compose run --rm node yarn dev --host
  • or build the artifacts, then serve the presentation in a production-like mode:

    $ docker compose run --rm node yarn build
    $ docker compose run --rm node yarn preview --host

License

This repository is under the MIT license. You can see the complete license in the LICENSE file.