I’m executing the following commands whenever I want to rebuild my development instance.
cd ~/Repositories/discourse
rm -R public/upload/*
rm -R tmp/*
rm -R log/*
redis-cli flushall
bundle exec rake db:drop db:create db:migrate
I’m executing the following commands whenever I want to rebuild my development instance.
cd ~/Repositories/discourse
rm -R public/upload/*
rm -R tmp/*
rm -R log/*
redis-cli flushall
bundle exec rake db:drop db:create db:migrate