These instructions assume you have a working stack of Apache, PHP and MySQL.
-
Clone the git repo to your local machine
-
Create a MySQL database and user for Grabagame
a. You'll also need to create a
grabagame_testdatabase. Give all privileges to one user on both databases. This database is used to run the unit tests -
Copy
src/app/config/parameters.ini.disttoparameters.ini -
Edit
parameters.iniand fill in a. Database name, user and password b. Secret c. Base logging URL (this should point to src/app/logs) -
Install the vendors with:
php bin/vendors install
-
Once you've installed the vendors, you should be able to run
php app/console
-
To run the projects tests, you'll need
a. PHPUnit -- Install via PEAR b. DBUnit (`pear install phpunit/dbUnit)
phpunit -c app
