Skip to content

Latest commit

 

History

History
47 lines (39 loc) · 946 Bytes

README.md

File metadata and controls

47 lines (39 loc) · 946 Bytes

2TIN Research Project

Requirements & configuration

Install Apache/Nginx

Install PHP >7.3

https://www.php.net/downloads

Install mysql-server

Install Composer

https://getcomposer.org/download/

Enable mysqli in the php.ini config file by adding this line:

extension=mysqli

Import the employees.sql file in your mysql server.

Open index.php and change following variables:

$serverName = "localhost";
$username = "mysql";
$password = "ventieldopje24";

Testing & running the project

Install dependencies (--no-dev when in production)

composer install

Regenerate autoload classmap

composer dump-autoload

Run unit tests

./vendor/bin/phpunit tests

Place content in /var/www or whatever webserver you are using! A working application should give the following result:

app

Check your apache/nginx logs if you get errors or missing data list!