Skip to content

Instantly share code, notes, and snippets.

@wsakaren
Created July 30, 2015 08:36
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wsakaren/5566cb150c0ac88ba695 to your computer and use it in GitHub Desktop.
Save wsakaren/5566cb150c0ac88ba695 to your computer and use it in GitHub Desktop.
Install Magento 2 Merchant Beta with database - quick route via command line
cd htdocs
composer create-project magento/community-edition magento2 1.0.0-beta --prefer-dist
create db (see details below)
Edit setup/index.php && index.php and add this - ini_set('xdebug.max_nesting_level', 200);
bin/magento setup:install --base-url=http://127.0.0.1/magento2/ \
--db-host=localhost --db-name=magento --db-user=magento --db-password=magento \
--admin-firstname=Magento --admin-lastname=User --admin-email=user@example.com \
--admin-user=admin --admin-password=admin123 --language=en_US \
--currency=USD --timezone=America/Chicago --use-sample-data --use-rewrites=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment