Code Monkey home page Code Monkey logo

h20-poc's Introduction

H2O Wave POC

Installation

Official guide: h20-wave installation

Prepare environment

python3 -m venv .venv
pip install --upgrade pip
pip install -r requirements.txt

Install wave server

Ex: wave server 0.25.2 for Mac M1

curl https://h2o-wave.s3.amazonaws.com/releases/wave-0.25.2-darwin-arm64.tar.gz --output wave-0.25.2-darwin-arm64.tar.gz
tar zxvf wave-0.25.2-darwin-arm64.tar.gz
ln -s wave-0.25.2-darwin-arm64 wave-server

[Optional] Enable HTTP over TLS

Official guide: Security

Create TLS cert and key files

cd wave-server
mkdir certs

openssl req \
   -newkey rsa:2048 -nodes -keyout domain.key \
   -x509 -days 365 -out domain.crt

Export env variable for TLS

export H2O_WAVE_TLS_CERT_FILE="./certs/domain.crt"
export H2O_WAVE_TLS_KEY_FILE="./certs/domain.key"
export H2O_WAVE_ADDRESS="https://127.0.0.1:10101"

Run wave server

cd wave-server
./waved

None If H2O_WAVE_TLS_CERT_FILE & H2O_WAVE_TLS_KEY_FILE are set, wave server will start over TLS.

Run wave apps

! Must be located at root directory h2o-poc/

wave run my_app.apps

h20-poc's People

Contributors

arnaudsene avatar

Watchers

 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.