docbrown/lib/tasks/forem.rake
Arit Amana 812bfa2bbf
Create Default Nav Links In New Forem (RFC #237) (#14345)
* schema file undelete description

* update with main

* update with origin

* update

* create rake task for new-forem nav links

* remove debugger

* create rake task for new-forem nav links

* remove debugger

* incorporate review feedback

* DRY image paths up

Co-authored-by: Jamie Gaskins <jgaskins@hey.com>
2021-08-02 12:52:36 -04:00

12 lines
391 B
Ruby

namespace :forem do
desc "Performs basic setup for new Forem instances"
# Since we execute this tasks in bin/setup as well as app_initializer:setup
# everything happening here needs to be idempotent.
task setup: :environment do
Rake::Task["navigation_links:create"].invoke
end
task health_check_token: :environment do
puts Settings::General.health_check_token
end
end