Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 817 Bytes

README.md

File metadata and controls

36 lines (24 loc) · 817 Bytes

Introduction

This repository contains the source code, static assets and development scripts for the Tadtech website (tadtech.co.uk).

Build Status

Requirements

  • Docker 17.06.0+
  • Docker Compose
  • Composer (optional, to run the test suite locally)

Installation

cp .docker/php/.env.dist .docker/php/.env
docker-compose up

Running the tests

If you have Composer installed locally, you can run tests using the following command:

composer install
./vendor/bin/phpunit

If the PHP Docker container is up, you can also run tests inside it:

docker-compose up -d
docker-compose exec php bash -c "cd /app && ./vendor/bin/phpunit"