Skip to content

Instantly share code, notes, and snippets.

View aarthiathi's full-sized avatar
💭
Me+Gulp_Underscores

Aarthi Athi aarthiathi

💭
Me+Gulp_Underscores
View GitHub Profile

Development Software

  • 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.
@aarthiathi
aarthiathi / gist:52d0b32196688f6e18d57b288d449e9f
Last active April 20, 2017 11:02
Magento Error during theme creation - already defined module
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.
@aarthiathi
aarthiathi / mysqlCLImamp.txt
Created April 18, 2017 21:43
Using MySQL command line with MAMP
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
@aarthiathi
aarthiathi / invalidIndex.txt
Created April 18, 2017 09:30
One or more indexers are invalid. Make sure your Magento cron job is running.
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
@aarthiathi
aarthiathi / cacheTypeErrorSolution.txt
Last active April 18, 2017 09:33
One or more of the Cache Types are invalidated: Page Cache. Please go to Cache Management and refresh cache types.
Select the Full Page cache and disable it.
Goto System - Cache Management - Flush Magento Cache
Enable Page Cache again
@aarthiathi
aarthiathi / magentoInstallation.txt
Last active April 24, 2017 23:11
magento installation on localhost ( Mac OS)
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.
@aarthiathi
aarthiathi / recursiveDirectoryCommand.txt
Created April 17, 2017 14:34
Command to create multiple directories
// Setting up the Album module one line command
// Mac operating system
MAMP
Step 1
cd /Applications/MAMP/htdocs/zend/module