You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

18 lines
534 B

namespace :madloba do
task install: :environment do
installer = Installer.new
installer.install_madloba
end
task reset_dev_db: :environment do
Rails.cache.delete(CACHE_CHOSEN_LANGUAGE)
Rails.cache.delete(CACHE_SETUP_STEP)
Rails.cache.delete(CACHE_APP_NAME)
Rails.cache.delete(CACHE_CITY_NAME)
Rails.cache.delete(CACHE_MAX_DAYS_EXPIRE)
puts "Low-level cache has been deleted. Now run following command: "
puts "- bundle exec rake db:reset db:seed db:seed_fu RAILS_ENV=development"
end
end