All,

Since it was mentioned, I'll put in a "plug" for the DSpace "Easy 
Installer" work I've begun (but have since set aside till I can get back 
to it).  More below..

On 5/10/2011 9:23 AM, Mark H. Wood wrote:
> On Tue, May 10, 2011 at 01:38:52PM +0100, Robin Taylor wrote:
> [snip]
>> Whilst editing a pom is an option for developers who are familiar with
>> the DSpace Maven infrastructure I think we need to come up something
>> much more user friendly. In the UK at least most sites do not have a
>> dedicated repo developer. I also suspect most sites take the code from
>> the downloadable zip and never go near SVN. There is already a Jira
>> issue from the DCAT group asking for an install process that doesn't
>> require the installer to get involved with Maven and Ant. I think we
>> risk alienating a section of the community if we don't provide an easy
>> mechanism to add modules and/or find the source code. This is not an
>> insurmountable problem, we just need to figure out some good solutions.
>> I'm looking forward to seeing Tim's Installer, it might spark off some
>> good discussions.
>
> Yes.  Sites that don't want to alter DSpace shouldn't need to even
> *have* Maven or Ant:
>
> 0.  install servlet container and DBMS if you don't already have them
> 1.  cd DSPACE_HOME
> 2.  unzip /path/to/DSPACE-CORE-PACKAGE
> 3.  unzip /path/to/SOME-ADDON-PACKAGE
> ...
> 4.  ./bin/dspace create-administrator
> 5.  tell your servlet container to look in DSPACE_HOME/webapps/YOUR-CHOICE
> 6.  login to the repo. as administrator and configure
> 7.  kick the servlet container to restart the repo. (if necessary)
>
> Step 5 might include specifying the DBMS connection, since either that
> or the value of DSPACE_HOME will have to be provided to the webapp(s)
> from the outside.

Currently, in the DSpace "Easy Installer" I've been playing with, the 
steps are similar to what Mark W has suggested:

0. Install Java, Servlet container & DB (NO Maven or Ant)
1. Download Easy Installer JAR file
2. Execute: 'java -jar [easy-installer.jar]'
3. Follow the displayed instructions. It will auto-initialize your DB, 
initialize your basic settings in dspace.cfg and install DSpace to 
DSPACE_HOME
4. Tell your servlet container to look in 
DSPACE_HOME/webapps/YOUR-CHOICE & Start it up
5. Access your fresh install of DSpace as normal

More information at: 
https://wiki.duraspace.org/display/DSPACE/InstallerPrototype

Also, the working initial code is at: 
http://scm.dspace.org/svn/repo/sandbox/installer-prototype/

NOTE: The "Easy Installer" can also perform basic DSpace upgrades 
(obviously though it is not smart enough to merge in your local code 
changes, and doesn't deal with Maven 'overlays' or anything yet).

Currently, the "Easy Installer" does *NOT* include have any way to 
install external 'add-ons' (via Maven or similar), as Maven is not even 
expected to be installed on your local system.  Obviously, it would be 
ideal if we could enhance the "Easy Installer" such that it can 'unzip' 
an AddOn Package & auto-install it appropriately for you -- but, that 
doesn't yet exist.

If others would like to play around with the Easy Installer or help with 
development of it, please feel free. I plan to get back to it again over 
the summer, in the hopes of having some version of it ready for 1.8.0 in 
October.

(However, at this point, much of my current development time is going 
towards testing & enhancing of Richard Rodgers Replication Task Suite: 
https://jira.duraspace.org/browse/DS-876)

- Tim





------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Dspace-devel mailing list
Dspace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to