How to create magento Test & Demo site

Follow the below 7 steps to create a Test or Demo site on your server.

  1. Create a subdirectory: Create a Subdirectory on your server where you want to create a “Test” site.

    cd /home/domain/public_html/
    mkdir test

  2. Copy all Magento files from public_html directory to the newly created “test” folder

    cp -r /home/domain/public_html/* /home/domain/public_html/test/
    cp /home/domain/public_html/.htaccess /home/domain/public_html/test/

  3. Create a new database for test site: Test environment will use a separate database, So we need to create a database as well. This can be done in the control panel of your hosting account. for ex: test_db
  4. Export the database: Now we need to export the current Magento database. You can use phpmyadmin to export the database or you can use the below command to export the database.

    mysqldump –insert-ignore –single-transaction -u[USERNAME]  -p[PASSWORD] [DB_NAME] | zip > dump.sql.gz

    Notes : You need to replace the SQUARE BRACKETS values with your values.

  5. Import the database: Now we need to import the database which we have export in above step. you can import the database from phpmyadmin IMPORT tab or you can do that with the following command also.

    gunzip < dump.sql.gz | mysql -f -u[USERNAME] -p[PASSWORD] [DB_NAME]

    Notes : You need to replace the SQUARE BRACKETS values with your values.

  6. Change the base_url: You must have to change the base-URL in the Magento database table called “core_config_data”.

    UPDATE core_config_data SET value=”” WHERE path=’web/secure/base_url’;
    UPDATE core_config_data SET value=”” WHERE path=’web/unsecure/base_url’;

  7. Clear the cache: Last step is to clear the cache. you can do it from the following directory.


Which is the best platform / technology for creating a website?


There are a plenty of plateforms / technology available to start your website but which is best for you ? here’s possibly the most comprehensive guide ever.

What needs to be considerd before you choose the platform ?

  1. Cost
  2. Easy
  3. Scalability
  4. Performance
  5. Compatibility
  6. Advantages
  7. Disadvantages

Read more

Do you know about this future technologies ?


In the last 10 years the world has changed beyond our expectations.

It will be hard to believe that The technology that we are using now are not aged more than 12years. For example smart-phones and ATM’s. And they became a part of our life in a short period of time.

The words which we are heard frequently nowadays is

    1. Virtual reality (Oculus rift and HTC vive) : We can expect VR system will become more popular in coming years.

Read more

What programming language do you have to learn in order to start coding an app like Instagram or WhatsApp?


It isn’t a matter of learning a particular language. Beginners are always hung up on languages. Languages don’t matter! To be honest, language is not that important. You can develop fancy apps in almost every modern language.

What you need to learn to create a mobile app like Instagram or Whatsapp is how to implement a client application on the mobile device and a backend web service that the client communicates with.

Most services app will have frontend and backend part. Read more

As a software engineer, what’s the best skill set to have for the next 5-10 years?


If you are looking to be a great general purpose software engineer then the skills for the next 5-10 years are very similar to the skills needed in the last 5-10 years.

  1. Higher level languages such as Java and even the latest, greatest C++ which has some very nice features. Get comfortable with these suckers, they’ve been around for a while, they’re going to stick around. Python is also useful. The jury is out on other very cool but not very broadly adopted languages.
  2. Get comfortable with big data. It’s not for everyone, but there’s big money in it, and it’s incredibly useful for business, digital assistants, and human-computer interfaces. Intelligent agents – software which learns your preferences and finds things on your behalf – will come sometime soon. Big data – processing an Internet worth of data to understand what you like, and are likely to like – will be a part of it. Get comfortable with SQL and distributed analogs to SQL for querying and transforming data.

Read more