Monitor your projects health
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets
commands
components
config
controllers
mail/layouts
migrations
models
modules/apiV1
runtime
tests
views
web
.bowerrc
.gitignore
LICENSE.md
README.md
codeception.yml
composer.json
composer.lock
requirements.php
yii
yii.bat

README.md

RocketHealth API

Monitoring your websites' health, free disk space and so on.

In development

Installation

Database

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.

Migrations

Run projects' migrations with

$ php yii migrate

Tests migrations

If you created db_health_tests database for testing environment run the following command

$ php tests/bin/yii migrate

Using PageSpeed API

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

Testing

Run tests by

$ ./vendor/vin/codecept run