cancel
Showing results for 
Search instead for 
Did you mean: 

I just installed Magento 2.1 via Composer. What's step 2?

I just installed Magento 2.1 via Composer. What's step 2?

I just installed Magento 2.1 via Composer in my local XAMPP 5.6 server.

 

composer create-project --repository-url=https://repo.magento.com/ magento/project-community-edition magento2
cd magento2
composer update

 

The folder structure generated:

htdocs/

magento2/update (folder with other files, folders and index.php)
magento2/composer.json
magento2/.gitignore

What exactly am I supposed to do next?

 

I tried running 127.0.0.1/magento2 in the browser and it loads the directory structure. If I run 127.0.0.1/magento2/update, it forbids access.

2 REPLIES

Re: I just installed Magento 2.1 via Composer. What's step 2?

You can try to use the CLI to install (with something like this):

 

bin/magento setup:install --admin-firstname=FIRSTNAME --admin-lastname=LASTNAME --admin-email=USERNAME@EXAMPLE.COM --admin-user=USERNAME --admin-password=PASSWORD --base-url=http://127.0.0.1/magento2/ --db-host=localhost --db-name=DATABASE_NAME --db-user=DATABASE_USERNAME --db-password=DATABASE_PASSWORD --language=en_US --currency=USD --timezone=America/Los_Angeles --use-rewrites=1

Maybe you find some error with the process or system requirments.

--
If you've found one of my answers useful, please give "Kudos" or "Accept as Solution"

Re: I just installed Magento 2.1 via Composer. What's step 2?

If you can see the directory listing your webserver is misconfigured, so even if you run the CLI install your site will probably not show up correctly in browser.

 

After the composer deploy you can either do the web install wizard via browser or the CLI install.