This is an example InterMine for demo and testing.
It's used by the tutorial, and we use it for our continuous integration tests on Travis
- Install
wget
if it's not already installed.- Install homebrew if not already installed: https://brew.sh/
brew install wget
This mine can be built with the ./setup.sh
script. Steps:
- Install Perl module dependencies:
sudo cpan XML::Parser::PerlSAX Text::Glob Cwd Getopt::Std
- Install and start postgresql on your system
- Create an
.intermine
directory in your $HOME directory - Copy biotestmine.properties into the
~/.intermine
directory - Replace PSQL_USER and PSQL_PWD with your postgres username and password.
- (Optional) Initialise the two search repositories used by InterMine. If you don't do this, the keyword search won't work in your mine. Follow the instructions for Solr
- If you have tomcat running on port 8080, please stop it because it will conflict with the embedded tomcat used by the script
- Run build script in your
biotestmine
repository:./setup.sh
Note: If you get an error related toSQL_ASCII
, you could either useDB_ENCODING=UTF-8 ./setup.sh
or follow the documentation to set postgresql to use SQL_ASCII.