π π± π¬ | Docker and all those new tools sometimes tricks you, right? So, to avoid customers calling me in the middle of night I've developed a simple script written in NodeJS to check if my projects are working properly. In case of failure, it sends a telegram message and project screenshot.
- Node.js >= v8.0.0
- yarn 1.5.1
$: cp config/config.dist.yml src/config/config.yml
$: cp config/projects.dist.yml src/config/projects.yml
$: yarn install
.
βββ application
βββ bin
βββ app.js
βββ scheduler.js
βββ config
βββ config.yml
βββ projects.yml
βββ logs
βββ application.log
βββ screenshots
βββ services