I did a fresh installation of Ubuntu and after installing Yii2 etc I can't seem to be able to run codecept anymore.
I'm using Yii2. I required the latest codecept version in composer.json which is working fine. But I can't seem to find a way to get codeception running again.
I've been looking through all the guides but none of them have anything other then just to composer require or add it to the composer.json. I do have noticed when I wanted to add codecept to my $PATH that I don't have a codecept file in root/vendor/bin/, where I think the $PATH entry should point to.
I have no idea where to go from here. Did I miss some step somewhere maybe? Just to sum things up:
codecept: command not found
on Ubuntu then you should follow these steps:
sudo composer global require "codeception/codeception=2.1.*" "codeception/specify=*" "codeception/verify=*"
and then run this command:
sudo ln -s ~/.composer/vendor/bin/codecept /usr/local/bin/codecept
So codecept build
and codecept run
will work.
composer global require "codeception/codeception=2.1.*" "codeception/specify=*" "codeception/verify=*"
Add this line into your path:
~\AppData\Roaming\Composer\vendor\bin