0

For example, there is project at www.example.com

How can I download this project and edit it on localhost. I am using nginx.

Can someone explain to me what I have to do step by step!?

closed as off-topic by PЯINCƏ, saravanavelu, Dhiren Vasoya, Teja Bhagavan Kollepara, Aasim Goriya Mar 19 at 5:10

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions describing a problem that can't be reproduced OR seemingly went away on its own (or went away when a typo was fixed) are off-topic as they are unlikely to help future readers." – PЯINCƏ, saravanavelu, Dhiren Vasoya, Teja Bhagavan Kollepara, Aasim Goriya
If this question can be reworded to fit the rules in the help center, please edit the question.

1

You can follow below steps to setup local magento instance by using existing code base.

  • Download entire code base from server and copy to your local xampp / wamp document root ( C:/xampp/htdocs/xyz )
  • Download the DB dump from remote server and import into your local mysql database ( phpmyadmin )
  • Change the secure & unsecure base url from http://www.example.com into http://localhost/xyz/ in core_config_data table
  • Change the database connection details ( hostname, dbname, username and password ) in app/etc/config.php file
  • Give 777 permission on var/ , pub/ folder
  • Clear cache folders ( var/cache, var/page_cache, var/di, var/generation )
  • You have to ensure mod_rewrite is enabled in your apache config
  • You have to ensure "symlinks options" are enabled in your apache folder

Not the answer you're looking for? Browse other questions tagged or ask your own question.