This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
composer config http-basic.example.org username password; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<VirtualHost *:80> | |
ServerName magento2.dev | |
SetEnv MAGE_RUN_CODE "base" | |
SetEnv MAGE_RUN_TYPE "website" | |
DocumentRoot "/var/www/html/magento2.dev/pub" | |
<Directory "/var/www/html/magento2.dev/pub"> | |
AllowOverride All | |
Order Allow,Deny |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
php bin/magento setup:install --base-url=http://magento2.dev/ \ | |
--db-host=127.0.0.1 --db-name=magento2 --db-user=root \ | |
--admin-firstname=Magento --admin-lastname=User [email protected] \ | |
--admin-user=admin --admin-password=abcABC123 --language=en_US \ | |
--currency=USD --timezone=America/Chicago --cleanup-database \ | |
--session-save=files --backend-frontname=admin --use-rewrites=1; | |
php bin/magento setup:config:set --session-save=files --backend-frontname=admin \ | |
--db-host=127.0.0.1 --db-name=magento2 --db-user=root; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ignore all | |
/* | |
# whitelist distinct spaces | |
!/.gitignore | |
!/composer.json | |
!/composer.lock | |
!/README.md | |
# local code pool |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/.buildpath | |
/.cache | |
/.metadata | |
/.project | |
/.settings | |
/.vscode | |
atlassian* | |
/nbproject | |
/robots.txt | |
/pub/robots.txt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git config --global user.name '{FIRSTNAME LASTNAME}'; | |
git config --global user.email {EMAIL}; | |
git config --global core.autocrlf input; | |
git config --global credential.helper 'cache --timeout=3600'; | |
git config --global branch.autosetuprebase always; | |
git config --global push.default current; | |
git config --global color.ui true; | |
git config --global core.fileMode false; | |
git config --global core.ignorecase false; |