Jump to content


Photo

Load of Demo Data

demo data

  • Please log in to reply
2 replies to this topic

#1 Sacha Telgenhof

Sacha Telgenhof

    Advanced Member

  • Members
  • PipPipPip
  • 85 posts
  • LocationTokyo, Japan

Posted 11 June 2012 - 01:09 PM

Is there a way to load demo data in an existing Zurmo installation, without performing an actual installation again?

During development of new Zurmo modules, I sometimes mess up data and am looking for an easy way to create new random demo data.

Any ideas?

Cheers! Sacha

#2 Jason

Jason

    Administrator

  • Administrators
  • 718 posts
  • LocationChicago

Posted 11 June 2012 - 02:05 PM

Look here: DemoDataUtil
What you can do is make a DemoController (look around for that to see what i did). And you can just load up only certain modules if you want. If you think we need a new method public on DemoDataUtil to better facilitate only loading one method, i guess do a pull request.

Jason Green
Zurmo Team
Need support? Upgrade now


#3 Sacha Telgenhof

Sacha Telgenhof

    Advanced Member

  • Members
  • PipPipPip
  • 85 posts
  • LocationTokyo, Japan

Posted 11 June 2012 - 08:23 PM

Cool, I will check it out.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users