Hacker News new | ask | show | jobs
by UserRights 4030 days ago
Would you like to publish the demo data to the repo as well, so we can test this app locally with some relevant data loaded? Thanks!
1 comments

it's available.. it's actually loaded for you by vagrant as fixtures..

the actual command it runs is: doctrine:fixtures:load

(which are in the Fixtures bundle).

the script which setups the demo data is located in vagrant/puphpet/files/exec-once

if you don't use vagrant you'll need to run that sort of setup manually

And the actual data is here - https://github.com/wealthbot-io/wealthbot/tree/master/src/We...

Here's some more info on working with Symfony's fixtures bundle - http://symfony.com/doc/current/bundles/DoctrineFixturesBundl...