Direct start
1 server cloning project
git clone git@*****.com/project.git
2 Change owner
chown www:www /www/wwwroot/project/* -R
3 project root directory
chmod -R 777 .git/*
4 project root directory
chmod -R 777 runtime/*
5 project root directory .gitignore
/vendor *.log /thinkphp .env /runtime
End of the calf. Leave!