Development Workflow

  1. From your project root run docker exec -ti COMPOSE_PROJECT_NAME-php bash to log in to the PHP container.

  2. From /var/www/html run npm run watch to watch & compile scripts & styles.

    1. If npm run watch fails to watch, use npm run watch-poll.

  3. To log out of the PHP container type exit

  4. To shut down Docker services, from PROJECT_ROOT run docker-compose down