If you have MacOS X 10.5 (which comes with Ruby installed) the 
installation of the new SDS (with the updated and more complete 
authentication and authorization system) has become much easier.

You can experiment with the new authentication and authorization 
system for the SDS at the dev SDS here:

   http://rails.dev.concord.org/sds/

Users without 'researcher' or 'admin' roles can only browse to the 
home page. New users can register but their default role of 'member' 
does not give them access to anything except the home page. Only a 
use with an 'admin' role can change the roles for other users.

There are still some bugs when running the TELS-Portal tests against 
the SDS -- it is not clear whether these are bugs in the SDS (none of 
the recent changes have affected how a Portal interacts with the SDS) 
or bugs in the text code itself. Hopefully Berkeley will be able to 
determine whet the issue is.

These instructions should also work fine on Linux and older MacOS 
system however you will need to install an up-to-date release of Ruby 
and RubyGems before starting.

Running these commands from a shell should get an SDS working:

   sudo gem install ruby-debug
   svn co http://svn.concord.org/svn/sds/trunk/ sds
   cd sds
   ruby config/setup.rb
   rake sds:setup:new_sds_from_scratch
   script/server

There should now be an SDS running here: http://localhost:3000 on 
your local system.

You can add an OTrunk Examples portal realm with this task:

   rake sds:setup:otrunk_testing_portal

Though for this to work you will also need to setup a Tomcat Java web 
start jnlp and jar server running and have a local copy of the 
otrunk-examples project.

See: 
https://confluence.concord.org/display/CSP/Setup+a+Full+SAIL+Stack+on+MacOS+10.5
 
for more complete instructions.

The work described in this message makes the installation of the Full 
SAIL Stack easier but the wiki page referenced above has not yet been 
changed. This new work simplifies "Step 8: Install Sail Data Service" 
and the "Create an SDS Portal realm and associated resources for 
otrunk-examples" section of "step 11 Install OTrunk Examples".

For background on the changes see change sets 472 .. 474 here

   http://trac.cosmos.concord.org/sds/changeset/472/trunk

If you have an recent existing SDS this should work to update it:

   cd sds
   svn up
   rake db:migrate
   rake sds:setup:default_users_roles

If you have never run the rake task that adds all the config versions 
(these are templates that define the data shared by the SDS with the 
SAIL instance and the manner in which the SAIl instance communicates 
with the SDS this task adds them:

   rake sds:setup:config:setup_all_config_versions


-- 
- Stephen Bannasch
   Concord Consortium, http://www.concord.org

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SAIL-Dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/SAIL-Dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to