Description:

  This generate creates files necessary to implement the RealApps Component Management System component. It will generate files in your components/ directory. After running the generator, run this command to create the necessary data base tables:

		rake migrate

  To create the tables necessary in your production database, run rake like so:

		rake migration RAILS_ENV=production

	In the second case, you will need to create content in that database. It will not be copied from your devlepment database for you.

	After generating the files, you must set a username and password for access to the CMS administrative functions. Open the file components/realapps/cms_authorization_config.rb and update these two lines:

		Realapps::Cms::Authorization.username = <some username>
		Realapps::Cms::Authorization.password = <some password>

	Finally, ensure your installation is correct by running functional and unit test:

		rake test_units
		rake test_functional

  You can now access the CMS by browsing to realapps/cms!

Example:
    ./script/generate realapps_cms

    This will create:
			components/realapps/cms/_form.rhtml
			components/realapps/cms/_not_configured.rhtml # Error message displayed when username/password not set.
			components/realapps/cms/edit.rhtml
			components/realapps/cms/list.rhtml
			components/realapps/cms/new.rhtml
			components/realapps/cms/show.rhtml
			components/realapps/cms_authorization.rb
			components/realapps/cms_authorization_config.rb # Holds username and password for access to CMS component.
			components/realapps/cms_content.rb
			components/realapps/cms_controller.rb
			test/fixtures/cms_contents.yml
			test/functional/realapps_cms_controller_test.rb
			test/unit/realapps_cms_content_test.rb
			public/realapps/cms/cms_grad.gif
			public/realapps/cms/cms_header.gif
			public/realapps/cms/favicon.ico
			public/realapps/cms/kti.css
			db/migrate/NNN_cms_migration.rb # Migration number may differ




