Sha256: d7b2087bbf8e44e3f948a735222ba23eca6838a39dba70bda6d8311a9770e892
Contents?: true
Size: 701 Bytes
Versions: 1
Compression:
Stored size: 701 Bytes
Contents
require 'bundler' module Georgia module Generators class SetupGenerator < ::Rails::Generators::Base desc "Setup Georgia CMS:\n * Runs Migration\n * Creates initial instances" def run_migrations rake "db:migrate" end def create_admin_user say("You're almost done. You need an admin user to get started.", :yellow) rake "georgia:seed" end def create_indexes Georgia::Page.__elasticsearch__.create_index! Ckeditor::Asset.__elasticsearch__.create_index! Ckeditor::Picture.__elasticsearch__.create_index! ActsAsTaggableOn::Tag.__elasticsearch__.create_index! end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
georgia-0.8.0 | lib/generators/georgia/setup/setup_generator.rb |