To migrate a project to Yii 2, you first need to upload the files to the server. This can be done in several ways:
git clone http://github.com/example/example_site/
After uploading files to the server connect over SSH and do the following:
PATH=/usr/local/php70/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin composer update
/usr/local/php70/bin/php yii migrate
After completing the steps described, additional steps may be required to customize the project. In this case, you should contact the project developer to clarify more detailed information.