Re: [Dspace-tech] create-administrator automation
On Wed, Aug 22, 2012 at 9:42 PM, Mushashu Mwansa Lumpa wrote: > Hi Helix, > > for some reason, the prompts still showed up.. here is what i run: > > create-administrator -e=mlu...@cs.uct.ac.za -f=mushashu -l=lumpa > -p=somepassword > > i tried with commas too, but still prompts showed up. > > any ideas? Yes, you're missing the -c option. If all five options are not specified, it still launches the interactive process. https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/administer/CreateAdministrator.java#L73 Please, keep dspace-tech in CC. Regards, ~~helix84 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] create-administrator automation
Hi Mushashu, here are the options it accepts: options.addOption("e", "email", true, "administrator email address"); options.addOption("f", "first", true, "administrator first name"); options.addOption("l", "last", true, "administrator last name"); options.addOption("c", "language", true, "administrator language"); options.addOption("p", "password", true, "administrator password"); I see it has no help flag (-h) and it's not in docs. I'll try to fix that later. Regards, ~~helix84 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] create-administrator automation
Hi, I am trying fully automate the installation of dspace (using python + fabric). now, on the create-administrator step, I have not seen any documentation on whether it is possible to run it in in single step like below: create-administrator param1 param2 param3. i know i can achieve this population of the fields by using something like pexpect, only the one line option would be very convenient for me. thanks, mushashu -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech