Awesome stuff be coming
- Install composer
- From the project root: ``composer install --dev`
- Run
php ./vendor/bin/phpunit.php -c test/phpunit.xml
to run the tests - copy setyp/doctrine.localhost.blog to your apache configuration and replace {YOUR DOC ROOT} with wherever you cloned this project to. Restart apache.
- navigate to http://doctrine.localhost.blog
First off you will need to install PHP for windows. XAMPP is one option along these lines but the core capability is you MUST be able to run php from the commandline.
Install phpunit
- open up a command prompt in administrative mode
- pear channel-discover pear.phpunit.de
- pear install phpunit/PHPUnit
Install Ruby
- Download and install from rubyinstaller.org
- Add the ruby bin directory to your path, verify you can run gem from the commandline by running
gem install capistrano
- Install the Devkit as well, following the instructions here
Now install guard-phpunit
C:\Projects\php-tdd-exercise> gem install guard-phpunit
Run the following command to create the database
vendor/bin/doctrine orm:schema-tool:create