A Quick Drupal local development environment with Composer and Docker

The order of operations here is important

  • Create Drupal project composer
    composer create-project drupal/recommended-project . -vvv
  • Create local environment with Docker
    • Dockerfile
    • Docker compose
      • docker-compose.yml
      • docker compose up -d
  • Install Drupal
    • Sqllite
  • Push to git
git remote add origin https://github.com/butlerjraines/drupal_test.git
  git add .
  git commit -m "first push"
  git branch -M main
  git push -u origin main