-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdspace-init.sh
executable file
·28 lines (24 loc) · 2.14 KB
/
dspace-init.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/bin/sh
echo "creating users..."
# sara submit user
sudo /dspace/bin/dspace user --add --email project-sara@uni-konstanz.de --password SaraTest --givenname Project --surname Sara
# SARA test user
sudo /dspace/bin/dspace user --add --email stefan.kombrink@uni-ulm.de --password SaraTest --givenname Stefan --surname Kombrink
sudo /dspace/bin/dspace user --add --email volodymyr.kushnarenko@uni-ulm.de --password SaraTest --givenname Vladimir --surname Kushnarenko
sudo /dspace/bin/dspace user --add --email franziska.rapp@uni-ulm.de --password SaraTest --givenname Franziska --surname Rapp
sudo /dspace/bin/dspace user --add --email matthias.fratz@uni-konstanz.de --password SaraTest --givenname Matthias --surname Fratz
sudo /dspace/bin/dspace user --add --email daniel.scharon@uni-konstanz.de --password SaraTest --givenname Daniel --surname Scharon
sudo /dspace/bin/dspace user --add --email kosmas.kaifel@uni-ulm.de --password SaraTest --givenname Kosmas --surname Kaifel
sudo /dspace/bin/dspace user --add --email uli.hahn@uni-ulm.de --password SaraTest --givenname Uli --surname Hahn
sudo /dspace/bin/dspace user --add --email joerg.domaschka@uni-ulm.de --password SaraTest --givenname Jörg --surname Domaschka
sudo /dspace/bin/dspace user --add --email stefan.wesner@uni-ulm.de --password SaraTest --givenname Stefan --surname Wesner
sudo /dspace/bin/dspace user --add --email christopher.hauser@uni-ulm.de --password SaraTest --givenname Christopher --surname Hauser
sudo /dspace/bin/dspace user --add --email kyryll.udod@uni-ulm.de --password SaraTest --givenname Kirill --surname Udod
# generic SARA test user
sudo /dspace/bin/dspace user --add --email demo-user@sara-service.org --password SaraTest --givenname Demo --surname User
# generic SARA test user, no submit rights
sudo /dspace/bin/dspace user --add --email demo-user-noaccess@sara-service.org --password SaraTest --givenname Demo --surname Loser
echo "creating initial community/collection structure..."
# Create DSpace initial communities/collections structure
sudo -u dspace /dspace/bin/dspace structure-builder -f config/DSpace_Import_Structure.xml -o /tmp/DSpace_Export_Structure.xml -e "$ADMIN_EMAIL"
echo "done"