Skip to content
This repository has been archived by the owner on Oct 24, 2024. It is now read-only.

Commit

Permalink
Remove old rake tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrae committed Mar 23, 2021
1 parent bbeb2e9 commit 2bd35b5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 21 deletions.
7 changes: 0 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
14 changes: 0 additions & 14 deletions lib/tasks/all_sorns.rake
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2bd35b5

Please sign in to comment.