This website will show weather data in a simple and clear manner.
- Docker
- API key for Maxmind services
- Clone the repository
- Copy the
.env
file to.env.local
and use your Maxmind API key to populate theMAXMIND_LICENSE_KEY
field - Run
docker-compose -f docker-compose-dev.yml up -d
to spin up the docker container - Run
docker-compose -f docker-compose-dev.yml exec php-fpm composer install
to fetch all PHP dependencies - Run
docker-compose -f docker-compose-dev.yml exec php-fpm yarn install
to fetch all javascript dependencies - Run
docker-compose -f docker-compose-dev.yml exec php-fpm yarn dev
to build frontend assets - Run
docker-compose -f docker-compose-dev.yml exec php-fpm bin/console doctrine:schema:create
to create all required database tables - Run
docker-compose -f docker-compose-dev.yml exec php-fpm bin/console app:download:ipdata
to download Maxmind ip mappings - Run
docker-compose -f docker-compose-dev.yml exec php-fpm bin/console app:import:buienradar
to download the latest weather data - Visit
http://localhost:9000/
to see the running application
To run all QA tests locally run docker-compose -f docker-compose-dev.yml exec php-fpm composer check
The following checks are run:
- Unit tests
- Integration tests
- Acceptance tests
- Php static analysis tool
- Php mess detector
- Php code sniffer
- Php lint
- Php copy/past
- Dependency tracker
- Security checker
- Configuration linting
- Container linting
- Twig template linting