diff --git a/README.md b/README.md index 3a78b5cd..0d4a6749 100644 --- a/README.md +++ b/README.md @@ -80,13 +80,6 @@ populate the database): `bundle exec rails federal_register:find_sorns` -After the database has been populated, run these commands to update the -links between SORNs that is displayed in the search results: - -```bash -bundle exec rails all_sorns:update_all_mentioned_sorns -bundle exec rails all_sorns:refresh_search -``` You can now run SORN DASH locally using: diff --git a/lib/tasks/all_sorns.rake b/lib/tasks/all_sorns.rake index 93ab1b9c..7a9c77c9 100644 --- a/lib/tasks/all_sorns.rake +++ b/lib/tasks/all_sorns.rake @@ -5,20 +5,6 @@ namespace :federal_register do end end -namespace :all_sorns do - desc "Refresh the materialzed view search. Needed to include any new SORNs found." - task refresh_search: :environment do - RefreshSearchJob.perform_later - end -end - -namespace :all_sorns do - desc "Find new SORNs on the Federal Register API" - task update_all_mentioned_sorns: :environment do - Sorn.update_all_mentioned_sorns - end -end - namespace :cf do desc "Only run on the first application instance" task :on_first_instance do