This repository contains rails code for the new version of EOL (TRAMEA).
You should install the following before proceeding:
- MySQL or MariaDB
- Neo4j
brew install neo4j
brew services start neo4j
(or justneo4j start
if you don't want it always running)- visit
http://localhost:7474/browser/
- login with neo4j:neo4j
- change your password as directed, e.g.: YOURNEWPASSWORD
- export EOL_TRAITBANK_URL=http://neo4j:YOURNEWPASSWORD@localhost:7474
rails runner "TraitBank::Admin.setup"
- ElasticSearch (
brew install elasticsearch
)
...You will need to define the following ENV variables (e.g.: export VAR=val):
EOL_TRAITBANK_URL=http://username:password@localhost:7474
EOL_DEVEL_DB_USERNAME=username
EOL_DEVEL_DB_PASSWORD=password
Before getting far, you should install ElasticSearch:
brew install elasticsearch # Mac OS X
sudo dpkg -i elasticsearch-[version].deb # Ubuntu
There is various additional information about the project in the doc/ folder.