As the banner above indicates, this repo is commitizen friendly. To activate this you can run git cz
.
This allows us to generate an automatic changelog and bring greater clarity to the intentions of a commit.
To install the VATSIM UK UI kit consilio, you need to ensure you are authenticated against the package registry here on GitHub.
To do this, you don't need any additional permissions, but you do need a personal access token to authenticate against the VATSIM UK npm/yarn registry.
- Generate Token from GitHub -> Settings -> Developer Settings -> Personal Access Tokens. Scope to
repo.*
&read:packages
permissions. - Run
yarn login --registry=https://npm.pkg.github.com
. When prompted, insert your GitHub username and the token you have just generated. - Run
yarn
to install all packages.
For more information, visit this guide for more information.
A docker-compose file is provided to facilitate the use of a docker container for an integrated development environment. This includes an nginx container, php environment and MariaDB database bundled in a docker-compose container.
Any 19.* version of Docker should be able to run the container.
To build the container, run the following command:
docker-compose up
To execute commands, fun the follow command
docker-compose exec app <YOUR COMMAND HERE>
E.g.
docker-compose exec app vendor/bin/phpunit
After the container has built, composer will install dependencies and run the database migrations.