How to reset discourse on dev mode? (w/o docker)

I followed

and then I imported data from mybb. But now, I want to reset DB so it becomes fresh.
How can I reset it on development mode?

2 Likes

At your shell prompt in the discourse directory, running:

rake db:drop db:create db:migrate

(you may need to prefix that with bundle exec if you normally require that)

should do the trick

9 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.