Skip to content
This repository has been archived by the owner on Nov 18, 2020. It is now read-only.

Cleaning Up

Adam Wead edited this page Jan 24, 2017 · 3 revisions

Remove Data

If you need to clean out the development environment, you can remove all the data from Hydra, Solr, Redis, as well as all downloaded files and derivatives.

$ bundle exec rake dev:clean

You can also clear out the database as an additional step:

$ bundle exec rake db:clean

Restart Rails HTTP server

$ rails server

Optionally, you can clear out the server's cache which will force css and javascript assets to be rebuilt afresh and remove all session data:

$ rm -Rf tmp/cache/*

Note: Supervision may be required.

Clone this wiki locally