scandipwa / create-magento-app

A zero-configuration tool-chain which allows to deploy Magento 2 application in minutes!
https://docs.create-magento-app.com
Open Software License 3.0
31 stars 20 forks source link

CONTRIBUTING.md appears to be out of date #119

Open SamuelColacchia opened 1 year ago

SamuelColacchia commented 1 year ago

Im working on trying to create a pull request for adding magento 2.4.6, while attempting to follow the directions in CONTRIBUTING.md it appears that the yarn cma command was removed at some point. What would be the correct command to run here?

I tried yarn create-magento-app ./runtime-packages/cma which i think worked but im getting a error while attempting to create the database

Here is a link to the repo

After doing more testing the database related issue here was something on my end

Results of yarn run start ```shell yarn run v1.18.0 $ magento-scripts start ❯ Starting project (magento-scripts@2.0.6) ✔ Checking requirements ✔ Running on linux 5.15.90.1-microsoft-standard-WSL2 (AMD Ryzen 9 5950X 16-Core Processor 32 threads) ✔ Using Docker version 20.10.23 [0.2s] ↓ Checking Docker Performance [SKIPPED] ✔ Using Node.js version 14.17.0 x64 ✔ Checking Composer credentials ✔ Retrieving project configuration ✔ Stopping project ↓ Stopping Docker containers [SKIPPED] ↓ Removing local volumes [SKIPPED] ✔ Retrieving fresh project configuration ❯ Configuring project ✔ Pulling container images [18s] ✔ Deploying Docker network [0.1s] ✔ Using PHP version 8.1.11 in container [2s] ✔ Building Project Image [2s] ✔ Building Debug Project Image [2s] ✔ Using Composer version 2.4.4 [1s] ✔ Preparing file system [0.7s] ✔ Creating volumes [0.2s] ✔ Installing Magento 2.4.6 [2m57s] ✔ Checking allowed Composer plugins... [0.4s] ✔ Starting Docker services [5s] ❯ Connecting to Database server ✔ Waiting for Database to initialize [0.0s] ✖ Creating Magento database in MariaDB ◼ Creating Magento user ◼ Terminating existing Database connection ◼ Getting Database connection ◼ Setting up Magento ◼ Finishing project configuration ◼ Opening browser ERROR! ERROR 2002 (HY000): Can't connect to server on '127.0.0.1' (115) ERROR! Unknown Error: ERROR 2002 (HY000): Can't connect to server on '127.0.0.1' (115) at ChildProcess. (/home/samuelcolacchia/create-magento-app/build-packages/magento-scripts/lib/util/exec-async-command.js:91:28) at ChildProcess.emit (events.js:376:20) at maybeClose (internal/child_process.js:1055:16) at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5) error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. ```