Installing yii and Docker

Hello.
Am I right that I need php and composer installed at my host system so I can install yii2 like at the docs?:

composer create-project --prefer-dist yiisoft/yii2-app-basic basic

And only after that I need to run

docker-compose up -d

Is it the workflow proposed?

You can clone the app yourself from git as an alternative but yes, that’s what’s proposed.

1 Like