Question

i downloaded magento 2 in github:https://github.com/magento/magento2. when i run setup, it's give me a message:

Whoops, it looks like setup tool dependencies are not installed.

Please run 'composer install' under /setup directory.

but when i following to do this done, it's display a blank page. i don't know anyone to see the error and can help me solve this. thanks for read.

Was it helpful?

Solution

I had the same problem. read all this information->

https://github.com/magento/magento2/issues/706

alankent commented 2 days ago At the moment, yes. The new web installer is not finished yet. Only the command line install is guaranteed to work right now. In case useful, https://github.com/alankent/docker-magento2-demo-apache has a Docker image that works. Skim through the Dockerfile and the contents of the 'scripts' directory and you can see how I put it together. (Last tested with alpha100.)

alankent commented a day ago Composer is used to download the source code, not create the database, create the local.xml file etc. If you have a look in https://github.com/alankent/docker-magento2-demo-apache/blob/master/scripts/install-magento2 you will see it runs composer, runs some scripts intended for production mode (see deploy.php and compile.php). It also runs 'composer' in the 'setup' subdirectory. The next phase can be found in https://github.com/alankent/docker-magento2-demo-apache/blob/master/scripts/runserver which creates a fresh database instance then runs the setup script (currently a part of index.php) which creates the database and sets up the local.xml file.

This is going to change and be cleaned up more before final release, but this is what I do today and it all seems to work.

OTHER TIPS

You need to install composer on setup directory.

cd /var/www/html/magento2/setup

composer install

Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top