Luya Deployment

How to Run Tests


./vendor/bin/phpunit

Check Coding Standard

In project is used PSR2 Standard

Check coding Standard

vendor/bin/phpcs --standard=PSR2 assets/ configs/ messages/ migrations/ modules/ views/ tests/

Repair bugs in coding Standard

vendor/bin/phpcbf --standard=PSR2 assets/ configs/ messages/ migrations/ modules/ views/ tests/

Run application in docker locally

docker build -t famu . docker run --name=famu -v /srv/http/famu/:/var/www/app -p 127.0.0.1:80:80 --network=php-dev -d famu * Replace /srv/http/famu with path of app on your computer * Replace php-dev with name of network where running db container

Revert application after deployment

dep revert prep dep revert prod

Rate this FAQ

0 (0 Votes)