zachleigh / larafolio

A portfolio management system for Laravel.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Make command to seed database in portfolio with Larafolio data/images

zachleigh opened this issue · comments

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'
  • 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...

Fixed all issues above. Will test in next release.

v0.9.06