Set up yii2 advanced project into local machine

Hi all, I’am using mac, mamp server installed, want to copy existing yii2 advanced project from server into local machine (localhost). I tried, but failed, I need steps for set up yii2 project into localhost(mamp server). Please help me.