rgranadino / mage2_vagrant

Simple Magento 2 Vagrant Box
249 stars 68 forks source link

Setup instructions not working #57

Open hellboy1975 opened 8 years ago

hellboy1975 commented 8 years ago

A couple of issues with the setup instructions. Things seem to go fine until step 7. Logged into ssh as "vagrant"

Once I enter composer.phar global config http-basic.repo.magento.com <public_key> <private_key> (with the appropriate public and private keys substituted) I get:

~bash: composer.phar: command not found

No global auth.json file can be found at ~/.composer/auth.json either.

Step 8 also seems pretty unclear. There's a reinstall found in ~/bin - this is the correct one to be run? When attempting to do so I just seem to get bad interpreter: No such file or directory

evanmartin commented 8 years ago

I had the same problem with the composer.phar however you should just create the ~/.composer/auth.json file if one does not already exist.

Open or create the file ~/.composer/auth.json

lsv commented 8 years ago

or just run

composer global config http-basic.repo.magento.com <public_key> <private_key>

Which works fine