Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
maaikelimper committed Sep 20, 2023
1 parent 67d6001 commit 060c8f9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
Binary file modified docs/source/_static/minio-login-screen2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 9 additions & 3 deletions docs/source/user/data-ingest.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Interactive data-ingestion requires an execution token, which can be generated u
MinIO user interface
--------------------

To access the MinIO user interface, visit ``http://localhost:9001`` in your web browser.
To access the MinIO user interface, visit ``http://<your-host-ip>:9001`` in your web browser.

You can login with your ``WIS2BOX_STORAGE_USERNAME`` and ``WIS2BOX_STORAGE_PASSWORD``:

Expand Down Expand Up @@ -72,7 +72,7 @@ If no data appears in the ``wis2box-public`` storage bucket, you can inspect the
python3 wis2box-ctl.py logs wis2box
Or by visiting the local Grafana instance running at ``http://localhost:3000``
Or by visiting the local Grafana instance running at ``http://<your-host-ip>:3000``

wis2box workflow monitoring
---------------------------
Expand Down Expand Up @@ -105,7 +105,7 @@ See below a Python example to upload data using the MinIO package:
minio_path = '/ita/italy_wmo_demo/data/core/weather/surface-based-observations/synop/'
endpoint = 'http://localhost:9000'
WIS2BOX_STORAGE_USERNAME = '<your-wis2box-storage-username>'
WIS2BOX_STORAGE_USERNAME = 'wis2box'
WIS2BOX_STORAGE_PASSWORD = '<your-wis2box-storage-password>'
client = Minio(
Expand All @@ -117,6 +117,12 @@ See below a Python example to upload data using the MinIO package:
filename = filepath.split('/')[-1]
client.fput_object('wis2box-incoming', minio_path+filename, filepath)
.. note::

In the example the file ``mydata.bin`` in ingested from the directory ``/home/wis2box-user/local-data/`` on the host running wis2box.
If you are running the script on the same host as wis2box, you can use the endpoint ``http://localhost:9000`` as in the example.
Otherwise, replace localhost with the IP address of the host running wis2box.

wis2box-ftp
-----------

Expand Down

0 comments on commit 060c8f9

Please sign in to comment.