Git Product home page Git Product logo

interview's Introduction

Interview is an interactive data viewing and inspecting framework for the Event Horizon Telescope.

Move your uvfits files to apps/uvfitsfiles/*

To add Baseline Stations(T1/T2) other than the ones in 2019 or 2020 EHT dataset,add them to apps/locations.txt AND run apps/demo2.py to host app instead of apps/new.py

Supported color list : https://docs.bokeh.org/en/latest/docs/reference/colors.html

Using Locally

Setup

Clone this repository:

git clone https://rndsrc/interview.git

and install Docker on your platform

Building

In the top level of this repository, execute the command

docker build --tag interview:interviewdocker .

Running

Execute the command to start the Docker container:

docker run --rm -p 5006:5006 -it interview:interviewdocker
Go to dockerhub cli or use docker exec (docker exec -t -i interview:bokehapp /bin/bash)
cd interview
cd apps
bokeh serve --allow-websocket-origin="*" --num-procs=4 (max no of processes) new.py

Now navigate to http://localhost:5006 to interact with the demo site.

Deploying to AWS

The bokeh server can be deployed using Elastic Beanstalk with Docker Containers.

Random notes for future reference:

  • Load balancer protocol needs to be set to TCP to allow websocket connections
  • Similar rules needed to security group config

Dockerhub repository link

https://hub.docker.com/r/phanicode/interview

interview's People

Contributors

phanicode avatar rndsrc avatar

Stargazers

Iniyan Natarajan avatar Arash Roshanineshat avatar Andrew Thomas avatar

Watchers

 avatar James Cloos avatar Arash Roshanineshat avatar

Forkers

phanicode

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.