This website will show weather data in a simple and clear manner.
- Docker
- API key for Maxmind services
- Clone the repository
- Copy the
.envfile to.env.localand use your Maxmind API key to populate theMAXMIND_LICENSE_KEYfield - Run
docker-compose -f docker-compose-dev.yml up -dto spin up the docker container - Run
docker-compose -f docker-compose-dev.yml exec php-fpm composer installto fetch all PHP dependencies - Run
docker-compose -f docker-compose-dev.yml exec php-fpm yarn installto fetch all javascript dependencies - Run
docker-compose -f docker-compose-dev.yml exec php-fpm yarn devto build frontend assets - Run
docker-compose -f docker-compose-dev.yml exec php-fpm bin/console doctrine:schema:createto create all required database tables - Run
docker-compose -f docker-compose-dev.yml exec php-fpm bin/console app:download:ipdatato download Maxmind ip mappings - Run
docker-compose -f docker-compose-dev.yml exec php-fpm bin/console app:import:buienradarto 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