- VirtualBox - Virtualization software for running local operating systems within your computer. This allows us have a full version of linux within our computers that better match how a live webserver works.
- Vagrant - A tool for provisioning (creating) virtual machines.
- VVV - A pre-built, community-supported Vagrant configuration for WordPress development.
- Git - Version control system for managing code during development. Easily allows for tracking changes, and merging new code into an existing project.
- SourceTree - A GUI available on Windows and Mac for managing Git projects. This makes Git much easier to use, as we won't have to learn the command line interface.
- Github.com - A website that provides free Git repositories for both open source and private projects.
- SASS - (SCSS) A CSS preprocessing implementation that allows us to write much less CSS for a project. This basically makes CSS into a simple programming language.
This file contains 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
// Setting up the Album module one line command | |
// Mac operating system | |
MAMP | |
Step 1 | |
cd /Applications/MAMP/htdocs/zend/module |
This file contains 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
MAC OS + MAMP+ MAGENTO - INSTALLATION | |
Download MAMP from https://www.mamp.info/en/downloads/. | |
Install the MAMP | |
Before starting the MAMP server, we need to do something regarding the selection of the php version. I am planning on installing Magento , and it requires PHP 5.6 version of PHP for the composer to be installed successfully. | |
So , let's do a workaround. |
This file contains 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
Select the Full Page cache and disable it. | |
Goto System - Cache Management - Flush Magento Cache | |
Enable Page Cache again |
This file contains 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
Goto the cli | |
> cd /Applications/MAMP/htdocs/magento/bin/ | |
>./magento indexer:reindex | |
----------------------------------------------------------------- | |
Output | |
----------------------------------------------------------------- | |
Design Config Grid index has been rebuilt successfully in 00:00:01 | |
Customer Grid index has been rebuilt successfully in 00:00:02 | |
Category Products index has been rebuilt successfully in 00:00:04 | |
Product Categories index has been rebuilt successfully in 00:00:00 |
This file contains 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
Using MySQL command line with MAMP | |
To use the MySQL command line with MAMP or MAMP PRO, perform the following steps: | |
Start MAMP or MAMP PRO | |
Start the server | |
Open Terminal (Applications -> Utilities) | |
Type in: (one line) | |
/Applications/MAMP/Library/bin/mysql --host=localhost -uroot -proot |
This file contains 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
I ran into this error because i had downloaded the magento from the github, which already had many definitions predefined and got stuck up in the middle with the error - Module already defined. | |
I did some online search and found that some experts had adviced not to pull the magento folder which already has all the definitions pre defined. | |
So i had to begin from the start | |
Download the magento from the magento2 repo. | |
You will be asked for the credentials, for that, you have to create a public key( username) and private key ( password). | |
Using the credentials ,run the following command in root directory. |