Skip to content

theodev/sm-engine-ansible

 
 

Repository files navigation

Ansible project for setting up machines running SM engine

Check https://github.com/SpatialMetabolomics/SM_distributed for more information about SM engine

Installation

Make sure you have these tools installed

git clone https://github.com/intsco/sm-engine-ansible.git

Setting up Virtual Box single instance SM engine

cp group_vars/sm-vbox.yml.template group_vars/sm-vbox.yml

Put the SM engine version of interest into group_vars/sm-vbox.yml as value for the sm.sm_branch variable

vagrant up --provision

ansible-playbook -i hosts sm.yml

Run tests

SSH into the virtual machine

ssh -i ~/.ssh/id_rsa -p 2222 [email protected]

Initialize Miniconda virtual environment

source /opt/dev/miniconda/bin/activate sm

Run tests

scripts/run.sh test_runner.py -u -r

License

This project is licensed under Apache 2.0 license.

About

Ansible project for setting up machines running SM engine https://github.com/SpatialMetabolomics/SM_distributed

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 79.1%
  • Ruby 20.9%