Skip to content
This repository has been archived by the owner on Aug 15, 2018. It is now read-only.

Commit

Permalink
content sections show up in the dropdown again, need to make sure the…
Browse files Browse the repository at this point in the history
… installer still runs
  • Loading branch information
Josh Adams committed Mar 11, 2009
1 parent bb07ee6 commit 8ac1f91
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
9 changes: 3 additions & 6 deletions README.markdown
Expand Up @@ -18,18 +18,15 @@ Ansuz is licensed via the BSD license.
## Quick Start

1. clone from github: git clone git://github.com/knewter/ansuz.git
2. install gems: sudo rake gems:install
3. rake ansuz:install will help create your database.yml, create the databases, run all migrations, then plugin migrations, and create an initial admin user
2. rake ansuz:install - this will help create your database.yml, create the databases, run all migrations, then plugin migrations, and create an initial admin user

NOTE: SQLite has problems with ansuz, please don't use it for now.

NOTE: See the [Ansuz Site Launcher](http://github.com/knewter/ansuz_launcher/tree/master)

If run with sudo on a server with passenger set up and all the gems already installed,
it will check out a new ansuz and set up a fresh database for it and set up a vhost
for the domain specified. So, then if that domain points to the server, Bam! Done.


## This software is BSD licensed. See the COPYING file for details.

For help, feel free to contact the authors at [Our Google Gorup](http://groups.google.com/group/ansuz-cms), or individually:
Expand All @@ -40,6 +37,6 @@ For help, feel free to contact the authors at [Our Google Gorup](http://groups.g

## Physical Address
Isotope 11, Inc.
600 Beacon Parkway
Suite 950
529 Beacon Parkway
Suite 105
Birmingham, AL 35209
4 changes: 2 additions & 2 deletions vendor/plugins/ansuz_content_section/init.rb
@@ -1,7 +1,7 @@
# FIXME: this unless statement needs to be removed, but without it you cant do rake gems:install, rake db:create:all or run the installer
unless !ActiveRecord::Base.configurations.blank?
unless ActiveRecord::Base.configurations.blank?
Ansuz::PluginManagerInstance.register_plugin(Ansuz::JAdams::ContentSection)
end
Ansuz::PluginManagerInstance.add_gem_dependency("RedCloth", :lib => "redcloth")
Ansuz::PluginManagerInstance.add_gem_dependency("BlueCloth", :lib => "bluecloth")
Ansuz::PluginManagerInstance.register_page_type("Content Page", ["Ansuz::JAdams::ContentSection"])
Ansuz::PluginManagerInstance.register_page_type("Content Page", ["Ansuz::JAdams::ContentSection"])

0 comments on commit 8ac1f91

Please sign in to comment.