Code Monkey home page Code Monkey logo

galaxy4training's Introduction

Galaxy4Training

TravisCI
Build in a snap a Galaxy environment for a training classroom of 20-30 participants to allow high interactivity and shared practical work.

This Ansible playbook has been developed and tested on Debian and Ubuntu systems.

Requirements

In order to use this playbook, you need:

Ansible roles

List of roles included in this playbook:

Control flow variables

A first set of variables, that regulate the playbook execution, are available in group_vars/all:

  • g4t_manage_os_setup: (default yes) to execute or not the ansible-galaxy-os role
  • g4t_manage_db_setup: (default yes) to execute or not the ansible-postgresql role
  • g4t_manage_galaxy: (default yes) to execute or not the ansible-galaxy role
  • g4t_manage_extras: (default yes) to execute or not the ansible-gx-extras role
  • g4t_manage_tools: (default no) to execute or not the ansible-galaxy-tools role
  • g4t_manage_datasets: (default no) to execute or not the ansible-gx-datasets role

Main variables

All the variables that can be configured to execute this playbook are collected into
roles/common/vars/main.yml .

Apply your modifications there.

How to clone this repository

Since this repository makes use of submodules, you can pass the --recursive option to git clone and initialize all submodules:

git clone --recursive https://github.com/gmauro/galaxy4training

Deploying on localhost

Clone the repository as described above and then run the playbook:

ansible-playbook -i inventory g4t.yml -e brand='G4T' -e admin_users='[email protected]

Development

Easily prepare a development setup using Docker in this way:

  • Clone the repository
    git clone --recursive https://github.com/gmauro/galaxy4training

  • Edit the code on your machine

  • start a docker container
    docker run -p 8080:80 -v /path/to/galaxy4training:/galaxy4training --rm -ti gmauro/ansible:2.6_ubuntu16.04 /bin/bash

  • Start Galaxy deployment on the docker container
    cd galaxy4training && ansible-playbook g4t.yml

  • Check the result on your browser at localhost

galaxy4training's People

Contributors

gmauro avatar ratzeni avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.