I am new to Magento. I have a working Magento 2.1.7 project. I want to put it in git repository?
If I put the working Magento directory into git and after cloning the repository to a local machine then how do I install the existing project and do the database configuration?
I tried copy pasting the existing repository to another machine and tried to install it by following the normal way of Magento installation but it didn't happen, instead I got this error:
An error has happened during application run. See exception log for details.
I tried to import the database as well but I got this error while importing:
Warning: Unknown: Input variables exceeded 1000. To increase the limit change max_input_vars in php.ini. in <b>Unknown</b> on line <b>0</b><br /> SET SQL_MODE ="NO_AUTO_VALUE_ON_ZERO"
I extended the max_input_vars
to 10000 from the php.ini file but still the same error.
Please suggest me about how can I configure and install an existing Magento 2.1.7 project cuz I want to put the working project to GIT for my team to work with !.
Warning: Unknown: Input variables exceeded 1000. To increase the limit change max_input_vars in php.ini. in Unknown on line 0
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO" – Kaushik Roy Aug 16 '17 at 09:49