Git Product home page Git Product logo

microservice-workshop's Introduction

Binder

microservice-workshop

This repository hosts the computational environment required to run the following repos:

by leveraging mybinder.org, a free service which provides an ephemeral cloud computing environment.

Developer Environments

In your Terminal, you may want to run PS1=\$\ , with echo PS1=\"\$\ \" >> ~/.bashrc for it to persist.

/proxy/.../

To visit services (html pages), change your url to end with {unique-binder-id}/proxy/{PORT}/ (trailing slash included).

/vscode

Code-Server: Binder

[Cmd/Ctrl] + Shift + P -> Add Folder to Workspace -> [Enter], and your home directory will show up on the left.

To open the Terminal, Ctrl + ^.

/lab

Lab: Binder

Click on the badge above and you will be launched into a jupyter session. Your file system is visible on the left-panel, and "apps" are available in the center. Open a Terminal and start checking out the example repos!

/tree

Tree: Binder

Classic Notebook view. Use the button on the top right: Run > Terminal, but note that multiple terminals (which you may want) will require multiple tabs to view.

Running with Docker (locally)

This project was set up to work with both mybinder.org and a local docker build which will launch code-server by default. To use it, run

docker build -t microservices-demo .
docker run --name demo-env -p 5000:5000 microservices-demo

or using docker-compose.yml:

version: "3"

services:
  demo:
    container_name: demo-env
    image: microservices-demo
    build:
      dockerfile: Dockerfile
      context: .
    ports:
      - "5000:5000"
    command: code-server --auth none --bind-addr 0.0.0.0 --port 5000

If you wish to use jupyter lab / notebook, change the command to:

jupyter lab --ip 0.0.0.0 --port 5000 or jupyter notebook --ip 0.0.0.0 --port 5000

and take note of the URL printed in your Terminal to handle authentication with the web application.

microservice-workshop's People

Contributors

mathematicalmichael avatar

Stargazers

 avatar  avatar

Forkers

rakesh283343

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.