Deploy Magento 2 Project

This post shows you how to deploy your Magento 2.1 Project to online hosting. Step one: You need to export your website database to sql or .zip file. use this command: mysqldump -u’database user’ -p’password’ [database_name] > sql_file.sql   — connect to your ssh server. Step Two: Replace your old domain with new domain in your database, using sed command sed -i ‘s/’ sql_file.sql   Step Three: Upload your local code to your Web-Server, you can Compress your code then … Continue reading Deploy Magento 2 Project