Hello World application to get started building interactive dashboards with voila.
This example uses a conda environment.yml file to list the dependencies.
For an example using requirements.txt, you can check render-stl or gaussian-density.
To test the application locally:
conda env create
conda activate voila-gallery-hello-world-example
voila app.ipynbThis will open a new browser tab at http://localhost:8866 serving the dashboard.
An environment file is all you need to make the dashboard work with Binder:
- Go to mybinder.org
- Put the URL of the repository
- Then select
Urlinstead ofFile - Put the following URL in the
URL to open (optional)field:/voila/render/app.ipynb
The repository is now ready to be used on Binder!
More details about Binder can be found in the documentation.