Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

225 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Grab a game

Build Status

Set up project to run locally

These instructions assume you have a working stack of Apache, PHP and MySQL.

  1. Clone the git repo to your local machine

    git clone https://github.com/chrismckinnel/Grabagame.git

  2. Create a MySQL database and user for Grabagame

    a. You'll also need to create a grabagame_test database. Give all privileges to one user on both databases. This database is used to run the unit tests

  3. Copy src/app/config/parameters.ini.dist to parameters.ini

  4. Edit parameters.ini and fill in a. Database name, user and password b. Secret c. Base logging URL (this should point to src/app/logs)

  5. Install the vendors with:

    php bin/vendors install

  6. Once you've installed the vendors, you should be able to run

    php app/console

  7. To run the projects tests, you'll need

    a. PHPUnit -- Install via PEAR b. DBUnit (`pear install phpunit/dbUnit)

    phpunit -c app

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages