You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@labs.apache.org by fa...@apache.org on 2009/08/30 19:25:19 UTC

svn commit: r809387 - /labs/consite/README

Author: farra
Date: Sun Aug 30 17:25:19 2009
New Revision: 809387

URL: http://svn.apache.org/viewvc?rev=809387&view=rev
Log:
updating installation instructions

Modified:
    labs/consite/README

Modified: labs/consite/README
URL: http://svn.apache.org/viewvc/labs/consite/README?rev=809387&r1=809386&r2=809387&view=diff
==============================================================================
--- labs/consite/README (original)
+++ labs/consite/README Sun Aug 30 17:25:19 2009
@@ -2,68 +2,87 @@
  Apache Consite Lab
 ====================
 
-Apache Consite includes two RadiantCMS extensions used to power
-the current ApacheCon websites.  The lab PI is Aaron Farr.
+Apache Consite includes two Radiant CMS extensions used to power the
+current ApacheCon websites.  The lab PI is Aaron Farr.  Documentation
+on Radiant and Radiant extensions can be found at:
 
-Documentation on Radiant extensions can be found here:
-
-  http://wiki.radiantcms.org/Extensions
+  http://wiki.github.com/radiant/radiant/
 
 File JIRA issues here:
 
   https://issues.apache.org/jira/browse/LABS/component/12312767
 
-##    INSTALL
 
+ INSTALL
+----------
 
 The consite project only includes the extensions, so you'll need to go
 through several installation steps to setup a development website:
 
-
-###     Prerequisites
+###  Prerequisites ###
 
  - Ruby
  - Ruby gems
- - Ruby on Rails 2.1 gem
- - Radiant 0.7.1 gem
- - Git (for installing certain plugins)
+    - Ruby on Rails 2.3.2
+    - Radiant 0.8.0
+    - Rspec
+    - Cucumber
+ - Git (for installing certain extensions)
 
-###     Installation Steps
+###  Installation Steps ###
 
- 1. Create a new Radiant site
-    
-    $ radiant consite-dev  
+ 0. Install prequisites
 
- 2. Install the following rails plugins
+    $ gem install radiant rspec cucumber
 
-    $ git clone git://github.com/activescaffold/active_scaffold.git vendor/plugins/active_scaffold
-    $ svn export http://svn.techno-weenie.net/projects/plugins/attachment_fu/ vendor/plugins/attachment_fu
-    $ cd vendor/plugins/active_scaffold
-    $ git checkout a2b708cb517d3a7b39259026faabb78ff2ca92ce
+ 1. Create a new MySQL database for your website
 
-  This last step checks out a specific branch for active scaffold for
-  rails 2.1.
+    mysqladmin --user=[...] -p create consite_production
 
+ 2. Create a new Radiant site
+    
+    $ radiant consite
 
- 3. Install the extensions:
+ 3. Bootstrap the database
 
-    $ ./script/extension install conferences
-    $ ./script/extension install members
+    $ cd consite
+    $ vi config/database.yml  # edit to taste
+    $ rake production db:bootstrap
 
- 4. To replicate the apachecon site, install these extensions
+ 4. Install the following radiant extensions
 
+    $ ./script/extension install mailer
     $ ./script/extension install page_attachments
-    $ ./script/extension install style_n_scripts
-    $ ./script/extension install tinymce_filter
-
+    $ ./script/extension install sns
+    $ ./script/extension install tiny_mce_filter
+    $ ./script/extension install members
+    $ ./script/extension install conferences
 
- 5. Finish extension installation (updates database):
+ 5. Fix extensions that are not yet updated for Radiant 0.8.0
 
-    $ rake db:migrate:extensions
-    $ rake radiant:extensions:update_all
+   If you get any errors in the last step, then those extensions have
+   not yet been updated for Radiant 0.8.0.  Fix them as follows:
+   
+
+    # page_attachments isn't yet updated for 0.8.0, make these changes:
+    sed -i -e "s/require_dependency 'application'/require_dependency 'application_controller'/g" vendor/extensions/page_attachments/page_attachments_extension.rb 
+    rake radiant:extensions:page_attachments:migrate 
+    rake radiant:extensions:page_attachments:update
+
+    # the sns extension on the radiant extension registry is old
+    # use this fork instead
+    rm -rf vendor/extensions/sns
+    git clone git://github.com/radiant/radiant-sns-extension.git vendor/extensions/sns
+    rake radiant:extensions:sns:migrate
+    rake radiant:extensions:sns:update
+
+    # tiny_mce_filter should be named tinymce_filter
+    mv vendor/extensions/tiny_mce_filter vendor/extensions/tinymce_filter
+    rake radiant:extensions:tinymce_filter:update
 
  6. Start server
 
     $ ./script/server -e production
-
+    
+ 7. Open http://127.0.0.1:3000/admin to view your website
 



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@labs.apache.org
For additional commands, e-mail: commits-help@labs.apache.org