Monitoring your websites' health, free disk space and so on.
In development
Copy default db config by running following command from project root:
$ cp config/.db.php config/db.php
Update newly copied config by actual db connection info. Don't forget to create db_health_tests
db for tests.
Run projects' migrations with
$ php yii migrate
If you created db_health_tests
database for testing environment run the following command
$ php tests/bin/yii migrate
Obtain PageSpeed API key from here Google Developer Console
and copy .params-local.php
file to params-local.php
inside your config
folder.
$ cp config/.params-local.php config/params-local.php
Run tests by
$ ./vendor/vin/codecept run