Skip to content
Snippets Groups Projects
Commit 4b60a4a3 authored by tpylak's avatar tpylak
Browse files

LMS-1709 test instance: scripts

SVN: 17569
parent e5d739c1
No related branches found
No related tags found
No related merge requests found
Source diff could not be displayed: it is too large. Options to address this: view the blob.
...@@ -18,7 +18,7 @@ mkdir -p $BACKUP_DIR ...@@ -18,7 +18,7 @@ mkdir -p $BACKUP_DIR
echo Restoring empty screening database echo Restoring empty screening database
USER=`whoami` USER=`whoami`
psql -U postgres -c "create database $OPENBIS_DB with owner $USER template = template0 encoding = 'UNICODE'" psql -U postgres -c "create database $OPENBIS_DB with owner $USER template = template0 encoding = 'UNICODE'"
psql -U $USER -d $OPENBIS_DB -f $ROOT_DIR/empty-screening-database.sql psql -U $USER -d $OPENBIS_DB -f $BASE/empty-screening-database.sql
echo Installing openBIS Datastore Server echo Installing openBIS Datastore Server
unzip $ROOT_DIR/datastore*.zip -d $ROOT_DIR unzip $ROOT_DIR/datastore*.zip -d $ROOT_DIR
......
...@@ -5,6 +5,9 @@ How to install 'openbis for Screening' from scratch: ...@@ -5,6 +5,9 @@ How to install 'openbis for Screening' from scratch:
mkdir bin mkdir bin
cd bin cd bin
wget svncisd.ethz.ch/repos/cisd/screening/trunk/dist/admin/svn-update.sh wget svncisd.ethz.ch/repos/cisd/screening/trunk/dist/admin/svn-update.sh
wget svncisd.ethz.ch/repos/cisd/screening/trunk/dist/admin/env
wget svncisd.ethz.ch/repos/cisd/screening/trunk/dist/admin/empty-screening-database.sql
. ./svn-update.sh . ./svn-update.sh
- adapt the 'bin/env' file
- run install script - run install script
bin/install.sh bin/install.sh
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment