Skip to content

If your local seeded database is funky...

M. Matthias Elliott edited this page May 17, 2017 · 6 revisions

So sometimes when some changes you'll need to re-seed your local db. The best way to know this is the case is if docker-compose starts up the app totally normally, but there's no items.

First, run docker-compose down to shut down docker Next, execute docker-compose run web mix ecto.drop to drop the database and lastly run docker-compose run setup to rebuild a test db.

Yeah it ain't pretty but it works.

Clone this wiki locally