Posts

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=”http://www.domain.com/test/” WHERE path=’web/secure/base_url’;
    UPDATE core_config_data SET value=”http://www.domain.com/test/” 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.

    “/home/domain/public_html/test/var/”

best-technology

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

ecommerce-cms

The three CMSs that are possibly most popular right now are Magento, PrestaShop, and Shopify.

Magento started to take off in mid-2007, while PrestaShop did so one year later, and interest in Shopify wasn’t significant until 2011. The growth of Magento seems to have become stagnant since 2011, possibly due to the appearance of other solutions by other companies. Even though the level of interest in Shopify is still lower than the other two solutions, its growth curve is very promising. Read more