Alsciende/netrunnerdb — pull request #133 by marcoalbarelli (2014-08-27 16:27:19+00:00)
Title: Base setup for contributors

Hi
I merged your latest changes
The new db dump applies cleanly, thanks

Right now the setup for the dev env is almost complete, as far as I can see

### WATCH OUT###
I changed the directories in AppKernel
If you need to point a custom directory I suggest you put the '/../../../temp/' part in a parameter
#################

import db (using a different db name) -> ok
removed composer.lock from .gitignore: composer.lock must be kept at a known state
composer update ok
app/console doctrine:schema:update ok

At this point the dev system is almost usable. The card artwork is missing, but it's not strictly necessary
I also added phpunit to the dev libraries

The only issue I get now is that I keep getting "SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data" in nrdb.data.js?v1.1 (line 44) when I try to build a deck

If I call http://localserver/api/cards/?jsonp=NRDB.data.parse_sets&_locale=en I get NRDB.data.parse_sets() and this way the build page doesn't render properly
http://ndb/en/deck/build/01093

I managed to get the page to render correctly by injecting the output of the netrunnerdb api live response inside the local variable