php -S 127.0.0.1:8000
http://localhost:8000
docker run --name some-mysql -e MYSQL_ROOT_PASSWORD=my-secret-pw -p 3306:3306 -d mysql:5.7.29
user: rootsql/acme-db.sql
, then sql/acme-data.sql
if you want the dummy data CAREFUL TO NOT RESET EXISTING DATAusers,comments,pages,contactForms,configuration
sql/acme-db.sql
CAREFUL TO NOT RESET EXISTING DATA against chosen mysql dbassets,rest,mail
folderscp ./config/connections-backup.php ./config/connections.php
mail
foldermailConfig-back.php mailConfig.php
cp library/mailFunctions-sendGrid.php library/mailFunctions.php
composer install
also see .github/workflows/unit_tests.yml
php tests/initialize.php
uncomment resetDb();
./vendor/bin/phpunit
or .\vendor\bin\phpunit
.\vendor\bin\phpunit --filter testPageComments
rest
folder for api endpoints on creating comments and registering