1- Download project via zip
2- Open zip
3- Run this command "cd C:\xampp\htdocs\app" -> folder of your project file
4- Run this command "composer install" -> install depencies
Pus to CloudFoundry
Before cf push open web/index.php and comment out the following two lines.
defined('YII_DEBUG') or define('YII_DEBUG', true);
defined('YII_ENV') or define('YII_ENV', 'dev');