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?

1 Like

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

8 Likes

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