Use the package manager composer and npm.
git clone https://github.com/Penfu/ES-CPNV-TeamBuilder.git
cd src
composer install
npm install
npm run build
The autologed member id is defined in the .env config file.
const USER_ID = 1;
php -S localhost:9000 -t src/public
Run the unit tests from src\
with the command:
vendor/bin/phpunit tests/models/
To run an individual test, specifiy the test file at the end of the path:
vendor/bin/phpunit tests/models/TestFile.php