infection / playground

Infection Playground - online tool to try Infection right in your browser.

Home Page:https://infection-php.dev

Repository from Github https://github.cominfection/playgroundRepository from Github https://github.cominfection/playground

Infection Playground

This is a repository for Infection Playground, hosted here: https://infection-php.dev

Infection - Mutation Testing Framework

Please read documentation here: infection.github.io

Twitter: @infection_php

Developing

The project is fully dockerized, after cloning just run docker compose up and you are good to go.

Database can be setup up by docker compose exec php make app-reinstall.

How to renew SSL certificate

Generate certificate

docker run -it --rm --name certbot \
-v "./secrets/certbot/www/:/var/www/certbot/" \
-v "./secrets/certbot/conf/:/etc/letsencrypt/" \
-v "./secrets/digitalocean-token.ini/:/secrets/digitalocean-token.ini" \
certbot/dns-digitalocean certonly --webroot --webroot-path /var/www/certbot/ --dry-run -d infection-php.dev --dns-digitalocean --dns-digitalocean-credentials /secrets/digitalocean-token.ini

Renew

docker run -it --rm --name certbot \
-v "./secrets/certbot/www/:/var/www/certbot/" \
-v "./secrets/certbot/conf/:/etc/letsencrypt/" \
-v "./secrets/digitalocean-token.ini/:/secrets/digitalocean-token.ini" \
certbot/dns-digitalocean renew

cp secrets/certbot/conf/live/infection-php.dev/fullchain.pem secrets/bundle.crt
cp secrets/certbot/conf/live/infection-php.dev/privkey.pem secrets/infection-php_dev.key

About

Infection Playground - online tool to try Infection right in your browser.

https://infection-php.dev

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:PHP 99.4%Language:JavaScript 0.3%Language:Twig 0.2%Language:Dockerfile 0.1%Language:Shell 0.0%Language:Makefile 0.0%Language:CSS 0.0%