Two dev containers are included in the repository to streamline development.
php-containeris used for writing and testing Vigilant.python-containeris used for writing and building the documentation.
php-container uses composer to manage dependencies and run code quality tools.
Install dependencies (Dependencies are automatically installed when the container starts)
composer install
Analysis code using PHP_CodeSniffer and PHPStan
composer lint
Fix code formatting using PHP_CodeSniffer
composer fix
Test code using PHPUnit
composer test
python-container uses Pipenv to manage dependencies and run MkDocs commands.
Install dependencies (Dependencies are automatically installed when the container starts)
pipenv install
Run the MkDocs development server
pipenv run mkdocs serve
Build the MkDocs documentation
pipenv run mkdocs build