Commit bce37b74 authored by Luca Cinquini's avatar Luca Cinquini
Browse files

Updating testing guide.

parent 88f40f13
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
.. _data_publishing:

***************
Data Publishing
***************
@@ -12,10 +14,11 @@ publish a sample dataset and file to the ESGF **tds** and **index** node
containers. These publishing instructions are meant to be executed inside the
**publisher** container. Additionally, the **postgres** contrainer is needed
to store publishing metadata, and the **orp** container is needed to enforce access
control (for publishing and downloading data)::
control (for publishing and downloading data), and the **idp** container is needed 
for authentication and to retrieve the group memberships of the data publisher .::

  docker-compose up 
  docker exec -it -u 0 publisher /bin/bash
  docker exec -it -u 0 <publisher container id> /bin/bash

One-Time Setup
==============
+3 −0
Original line number Diff line number Diff line
@@ -33,3 +33,6 @@ In what follows, replace *my-node.esgf.org* with your choice for $ESGF_HOSTNAME:

  * username=rootAdmin
  * password=changeit

* Test publishing a test dataset following the instructions at :ref:`data_publishing`.
+4 −3
Original line number Diff line number Diff line
@@ -50,7 +50,7 @@
          <div class="body" role="main">
            
  <div class="section" id="data-publishing">
<h1>Data Publishing<a class="headerlink" href="#data-publishing" title="Permalink to this headline"></a></h1>
<span id="id1"></span><h1>Data Publishing<a class="headerlink" href="#data-publishing" title="Permalink to this headline"></a></h1>
<p><em>Tested with ESGF_VERSION=dev_1.4</em></p>
<div class="section" id="description">
<h2>Description<a class="headerlink" href="#description" title="Permalink to this headline"></a></h2>
@@ -59,9 +59,10 @@ publish a sample dataset and file to the ESGF <strong>tds</strong> and <strong>i
containers. These publishing instructions are meant to be executed inside the
<strong>publisher</strong> container. Additionally, the <strong>postgres</strong> contrainer is needed
to store publishing metadata, and the <strong>orp</strong> container is needed to enforce access
control (for publishing and downloading data):</p>
control (for publishing and downloading data), and the <strong>idp</strong> container is needed
for authentication and to retrieve the group memberships of the data publisher .:</p>
<div class="highlight-python"><div class="highlight"><pre>docker-compose up
docker exec -it -u 0 publisher /bin/bash
docker exec -it -u 0 &lt;publisher container id&gt; /bin/bash
</pre></div>
</div>
</div>
+1.12 KiB (22.1 KiB)

File changed.

No diff preview for this file type.

+74 B (33.9 KiB)

File changed.

No diff preview for this file type.

Loading