From 2be59c693cd591c0746eaa4bf250583a6447c6f4 Mon Sep 17 00:00:00 2001 From: Nuwan Goonasekera <2070605+nuwang@users.noreply.github.com> Date: Tue, 12 Oct 2021 10:33:09 +0530 Subject: [PATCH] Added readme on ITs and some ITs to tool conf --- README.md | 27 +++++++++++++++++++++++++++ galaxy/files/configs/tool_conf.xml | 12 ++++++++++++ 2 files changed, 39 insertions(+) diff --git a/README.md b/README.md index 3a8d4ec0..fd632a85 100644 --- a/README.md +++ b/README.md @@ -398,6 +398,33 @@ If you use the latter method, it is highly recommended that you deploy a single Galaxy release per nodepool/namespace, as multiple CVMFS-CSI provisioners and Postgres operator running side-by-side can interfer with one another. +## Making Interactive Tools work on localhost + +In general, Interactive Tools should work out of the box as long as you have a wildcard DNS mapping +to *.its.. To make Interactive Tools work on localhost, you can use dnsmasq or similar to +handle wildcard DNS mappings for *.localhost. + +For mac: +```bash + $ brew install dnsmasq + $ cp /usr/local/opt/dnsmasq/dnsmasq.conf.example /usr/local/etc/dnsmasq.conf + $ edit /usr/local/etc/dnsmasq.conf and set + + address=/localhost/127.0.0.1 + + $ sudo brew services start dnsmasq + $ sudo mkdir /etc/resolver + $ sudo touch /etc/resolver/localhost + $ edit /etc/resolver/localhost and set + + nameserver 127.0.0.1 + + $ sudo brew services restart dnsmasq +``` + +This should make all *.localhost and *.its.localhost map to 127.0.0.1, and ITs should work with a regular +helm install on localhost. + ## Horizontal scaling diff --git a/galaxy/files/configs/tool_conf.xml b/galaxy/files/configs/tool_conf.xml index 3e28949a..4177fb64 100644 --- a/galaxy/files/configs/tool_conf.xml +++ b/galaxy/files/configs/tool_conf.xml @@ -127,4 +127,16 @@