This is currently an experimental framework - more details will be provided as additions are made available.
Installation using Composer
- Add the
jedi58/inachispackage to the require section of your composer.json file.
$ composer require jedi58/inachis
If you would like to use the default templates then you will need
gulp so that you can then run
npm install followed by
gulp to build prepare the assets.
Deployment and configuration using Ansible
Environments deployed using Ansible hav etheir configuration stored in the usual YAML files. For the default passwords used by each service (MySQL, RabbitMQ, etc.) please refer to https://github.com/jedi58/inachis/blob/master/dev/ansible/vars/all.yml
For use in a production environment it is recommended that these passwords are NOT used.
Whilst this framework is still in progress the majority of it's testing is done using PHPUnit. To run these tests, from the root of your checkout you can run:
You may however notice the warnings for the timezone (depending on your local PHP set-up). To avoid this it is recommended that you instead use the following:
There is also a
./check_psr2.sh script to check that the code adhere's to the PSR-2 standard. To use this you will first need to ensure PHP CodeSniffer and Beautifer are available and in your
PATH. If you haven't got these, they can be quickly installed using:
Once the interface is added the test suite will be expanded to include Behat.
This code is released under the MIT License (MIT). Please see License File for more information.