Skip to content

Instantly share code, notes, and snippets.

@wsakaren
Last active August 29, 2015 14:11
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wsakaren/a1488ebfd2a75317e94e to your computer and use it in GitHub Desktop.
Save wsakaren/a1488ebfd2a75317e94e to your computer and use it in GitHub Desktop.
Installing Magento2 - The quick way
So we all hate reading docs. Here is the quick setup for installing Magento2. If you want the long route - http://devdocs.magento.com/
I'm assuming you have composer, PHP 5.4+ and MySQL5.6+. If you have MAMP installed time to go sort that as it wont work (MAMP is on MySQL5.5.x).
1. Install Composer - curl -sS https://getcomposer.org/installer | php
2. mv composer.phar /usr/local/bin/composer (might need to sudo)
3. Goto base httpdocs directory
4. git clone git@github.com:magento/magento2.git
5. Set permissions (like you do in Magento 1.x)
6. cd magento2
7. composer install
8. Create a blank DB
9. Edit setup/index.php and add this - ini_set('xdebug.max_nesting_level', 200);
10. Navigate to magento install in browser and kick off the wizard
11. Hurrah
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment