13 lines
368 B
Ruby
13 lines
368 B
Ruby
namespace :forem do
|
|
desc "Performs basic setup for new Forem instances"
|
|
task setup: :environment do
|
|
puts "\n== Setting up profile fields =="
|
|
# TODO: [@forem/oss] Remove the destroy_all call
|
|
ProfileField.destroy_all
|
|
ProfileFields::AddBaseFields.call
|
|
end
|
|
|
|
task health_check_token: :environment do
|
|
puts SiteConfig.health_check_token
|
|
end
|
|
end
|