Git Product home page Git Product logo

indexplorer-docker's Introduction

indeXplorer-docker

temporary location for a dockerfile for indeXplorer

first clone this git repo you see here

next change to this dir

cd indeXplorer-docker

then clone indeXplorer inside the indeXplorer-docker dir using

git clone https://git.embl.de/velten/indeXplorer.git

then build docker image

docker build .

in order we can run the web app, we need to put some data in a specific folder and define this folder as a docker run(time) argument

for example define the following location on your host system

mkdir ~/indeXplorer_data
DATA_DIR=~/indeXplorer_data

copy some example data in it

cd $DATA_DIR
wget http://steinmetzlab.embl.de/shiny/indexplorer/data.zip
unzip -j data.zip

now run the container defining the local folder (providing a local folder is mandantory, otherwise the shiny webapp indeXplorer will throw an error when startin g) first do a test

if ! [ -f $DATA_DIR/MASTER_ALL.rda ]; then echo "mandantory file for indeXplorer not found!"; fi

then run the app

docker run --rm -p 80:3838 -v $DATA_DIR:/data indeXplorer

following options are defined on running docker

verbose_logfiles creates extensive log files in /var/log/shiny-server

verbose_logfiles=[TRUE,FALSE] 

e.g.

docker run --rm -p 80:3838 -e verbose_logfiles=TRUE -v $DATA_DIR:/data indeXplorer

behind a webproxy use the following

websockets_behind_proxy=TRUE

e.g.

docker run --rm -p 80:3838 -e verbose_logfiles=TRUE -e websockets_behind_proxy=TRUE -v $DATA_DIR:/data indeXplorer

set DEFAULT_SCALE_X and/or DEFAULT_SCALE_Y to e.g. linear

DEFAULT_SCALE_X=linear
DEFAULT_SCALE_Y=linear

e.g.

docker run --rm -p 80:3838 -e verbose_logfiles=TRUE -e websockets_behind_proxy=TRUE -e DEFAULT_SCALE_X=linear -e DEFAULT_SCALE_Y=linear -v $DATA_DIR:/data indeXplorer

indexplorer-docker's People

Contributors

olipelz avatar

Watchers

James Cloos avatar  avatar

Forkers

dkoppstein

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.