Skip to content
sergio contrino edited this page Aug 22, 2019 · 1 revision

a quick summary of commands relating to the tutorial in the documentation

clone and set project file

git clone https://github.com/intermine/biotestmine

cd biotestmine/

cp data/project.xml .

sed -i 's/\DATA\_DIR/\/your\/path\/to\/data/g' project.xml

Edit your properties file and create the required databases.

see doc

install and prepare solr

in a directory of your choice:

wget http://archive.apache.org/dist/lucene/solr/7.2.1/solr-7.2.1.zip

unzip solr-7.2.1.zip

cd solr-7.2.1

./bin/solr start

./bin/solr create -c biotestmine-search

./bin/solr create -c biotestmine-autocomplete

Build the mine

in the biotestmine directory:

./gradlew buildDB

wget https://raw.githubusercontent.com/intermine/intermine-scripts/master/project_build

chmod +x project_build

./project_build -b -v localhost ~/biotestmine-dump

Clone this wiki locally