Make command to seed database in portfolio with Larafolio data/images
zachleigh opened this issue · comments
Zach Leigh commented
Maybe just a command to move the Larafolio database seeders and factories to the local app?
Issues:
- Need to get rid of namespaces when moving seeders over
- Eliminate use statements for DB and Storage
- Change image paths. Should be
__DIR__.'/../../vendor/zachleigh/larafolio/tests/_data/images'
Zach Leigh commented
Need to remove the DB use statement and use \DB instead.Need to move model factories class over too.Need to remove Storage use statement too.Path in image seeder wasnt changed...
Zach Leigh commented
Fixed all issues above. Will test in next release.
Zach Leigh commented
v0.9.06