Template repository to create a dockerized H2O Wave application from scratch.
If you want to create a Wave application, select this repo as a templated when creating your app's repository.
Pre-requisites
- pip
- poetry
# Installing dependencies
$ poetry config virtualenvs.create true
$ poetry install
$ poetry shell
$ wave run --no-reload --no-autostart app.app
You can see the app through localhost http://127.0.0.1:10101
To stop running Press Ctrl + C
To stop virtual env
$ exit
Pre-requisites
- mamba or conda
$ mamba env create --file conda/local.yaml
You can use conda instead of mamba $ conda env create --file conda/env.yml
To activate virtual env and run the app
$ conda activate waveapp
$ wave run app/app.py
You can see the app through localhost http://127.0.0.1:10101
Pre-requisites
- Docker installed and running
- Install make docker-compose with:
$ mamba env create --file conda/containers.yaml
Then:
$ make containers-build
# When dependencies change and you need to force a rebuild
$ make containers-start
# When finished
$ make containers-down
You can see the app through localhost http://127.0.0.1:10101