This application is intended to be used with docker. See the Dockerfile. TODO: add more details.
This repository contains some .xml and .glm files which are quite large. To keep the repository light, these files are tracked with git lfs. To install source:
- Navigate here, download the installer, and run it.
- From a git bash terminal, navigate into the head of this repository and
git lfs install
- Add the git-core repository from the terminal:
sudo apt-add-repository ppa:git-core/ppa
- Download and run the install script:
curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash
- Install:
sudo apt-get install git-lfs
- Activate:
git lfs install
Ensure that the MySQL global variables innod_db_buffer_pool_size
and innodb_buffer_pool_instances
are set adequately high.
On Brandon's Windows machine, innod_db_buffer_pool_size=4G
and innodb_buffer_pool_instances=16
These settings can be configured via the options file. On Windows:
- Run "services.msc" (either from start menu search box or using the "run" utility)
- Find MySQL in the list, e.g. MySQL57
- Right click on the row with MySQL in it, select "Properties"
- Under "Path to executable" locate the "--defaults-file" input
- Open the "--defaults-file," search for "innodb"
- Alter necessary defaults.
- Restart MySQL.
Alternatively, these setting can be tweaked in MySQL Workbench the "Options File" button under the "Instance" heading in the "Navigator" pane (on the left edge of the program).
More details (and commands for Linux/Unix) can be found here