Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 746 Bytes

README.md

File metadata and controls

27 lines (19 loc) · 746 Bytes

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.