Commit 7076e765 authored by Jorge Moratinos's avatar Jorge Moratinos
Browse files

Deployed 51c794ea to develop in public with MkDocs 1.5.3 and mike 2.0.0

parent 6488fe49
Loading
Loading
Loading
Loading
+119 −3
Original line number Diff line number Diff line
@@ -78,7 +78,7 @@
    <div data-md-component="skip">
      
        
        <a href="#run-all-capif-services-locally-with-docker-images" class="md-skip">
        <a href="#downloading-the-project" class="md-skip">
          Skip to content
        </a>
      
@@ -374,6 +374,48 @@
    </label>
    <ul class="md-nav__list" data-md-component="toc" data-md-scrollfix>
      
        <li class="md-nav__item">
  <a href="#downloading-the-project" class="md-nav__link">
    <span class="md-ellipsis">
      Downloading the project
    </span>
  </a>
  
    <nav class="md-nav" aria-label="Downloading the project">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#1-create-a-folder-to-download-the-project" class="md-nav__link">
    <span class="md-ellipsis">
      1. Create a folder to download the project
    </span>
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#2-download-the-deployment-script" class="md-nav__link">
    <span class="md-ellipsis">
      2. Download the deployment script
    </span>
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#3-run-the-deployment-script" class="md-nav__link">
    <span class="md-ellipsis">
      3. Run the deployment script
    </span>
  </a>
  
</li>
        
      </ul>
    </nav>
  
</li>
      
        <li class="md-nav__item">
  <a href="#run-all-capif-services-locally-with-docker-images" class="md-nav__link">
    <span class="md-ellipsis">
@@ -575,6 +617,48 @@
    </label>
    <ul class="md-nav__list" data-md-component="toc" data-md-scrollfix>
      
        <li class="md-nav__item">
  <a href="#downloading-the-project" class="md-nav__link">
    <span class="md-ellipsis">
      Downloading the project
    </span>
  </a>
  
    <nav class="md-nav" aria-label="Downloading the project">
      <ul class="md-nav__list">
        
          <li class="md-nav__item">
  <a href="#1-create-a-folder-to-download-the-project" class="md-nav__link">
    <span class="md-ellipsis">
      1. Create a folder to download the project
    </span>
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#2-download-the-deployment-script" class="md-nav__link">
    <span class="md-ellipsis">
      2. Download the deployment script
    </span>
  </a>
  
</li>
        
          <li class="md-nav__item">
  <a href="#3-run-the-deployment-script" class="md-nav__link">
    <span class="md-ellipsis">
      3. Run the deployment script
    </span>
  </a>
  
</li>
        
      </ul>
    </nav>
  
</li>
      
        <li class="md-nav__item">
  <a href="#run-all-capif-services-locally-with-docker-images" class="md-nav__link">
    <span class="md-ellipsis">
@@ -629,12 +713,44 @@
  <h1>How to Run</h1>

<ul>
<li><a href="#downloading-the-project">Downloading the project</a></li>
<li><a href="#1-create-a-folder-to-download-the-project">1. Create a folder to download the project</a></li>
<li><a href="#2-download-the-deployment-script">2. Download the deployment script</a></li>
<li><a href="#3-run-the-deployment-script">3. Run the deployment script</a></li>
<li><a href="#run-all-capif-services-locally-with-docker-images">Run All CAPIF Services locally with Docker images</a></li>
<li><a href="#run-all-capif-services-locally-with-docker-images-and-deploy-monitoring-stack">Run All CAPIF Services locally with Docker images and deploy monitoring stack</a></li>
<li><a href="#run-each-service-using-docker">Run each service using Docker</a></li>
<li><a href="#run-each-service-using-python">Run each service using Python</a></li>
</ul>
<p>Capif services are developed under <a href="https://labs.etsi.org/rep/ocf/capif/-/tree/main/services">services folder</a>.</p>
<h3 id="downloading-the-project">Downloading the project</h3>
<p>You can easily download CAPIF to run in local environment following next steps:</p>
<h4 id="1-create-a-folder-to-download-the-project">1. Create a folder to download the project</h4>
<pre><code>mkdir OpenCAPIF

cd OpenCAPIF
</code></pre>
<h4 id="2-download-the-deployment-script">2. Download the deployment script</h4>
<p>Download the deployment / environment preparation script:</p>
<pre><code>wget https://labs.etsi.org/rep/ocf/capif/-/raw/staging/deploy.sh
</code></pre>
<p>Make it executable:</p>
<pre><code>chmod +x deploy.sh
</code></pre>
<h4 id="3-run-the-deployment-script">3. Run the deployment script</h4>
<p>This script selects the branch for capif repository project to pull from.</p>
<p>If you run the script without selecting a branch the the main branch is going to be selected.</p>
<p>We recommend:</p>
<ul>
<li><strong>main</strong> branch for the most stable experience and <strong>staging</strong> branch for an experience with the latest features (for staging branch installation, it is strongly advisable that you may as well follow the staging documentation)</li>
</ul>
<pre><code># ./deploy.sh [branch to fetch] [true or false (default) to install monitoring stack or not]

sudo ./deploy.sh staging
</code></pre>
<blockquote>
<p><strong>We recommend running the deploy.sh script with root permissions! In other case, some directories may not be accessible by the project building tools and hinder the smooth installation.</strong></p>
</blockquote>
<h3 id="run-all-capif-services-locally-with-docker-images">Run All CAPIF Services locally with Docker images</h3>
<p>To run using docker and docker compose, version 2.10 or higher, you must ensure you have those tools installed in your machine. Also to simplify the process, we have 3 scripts allowing docker images to deploy, check and cleanup.</p>
<p>All these scripts are available under <strong><em>services</em></strong> directory.</p>
@@ -643,7 +759,7 @@

Usage: ./run.sh &lt;options&gt;
       -c : Setup different hostname for capif
       -m : Clean monitoring service
       -m : Launch monitoring service
       -h : show this help
</code></pre>
<p>This script builds and runs all services using docker images, including mongodb and nginx locally and in the background, and imports ca.crt to nginx. By default monitoring is not activated and Nginx is deployed use <strong>capifcore</strong> as a hostname. </p>
@@ -655,7 +771,7 @@ Usage: ./run.sh &lt;options&gt;
./run.sh -c opencapif.etsi.org

# opencapif.etsi.org as CAPIF_HOSTNAME and monitoring activated
./run.sh -c opencapif.etsi.org -m true 
./run.sh -c opencapif.etsi.org -m 

</code></pre>
<p>If you want to check if all CAPIF services are running properly in a local machine after executing run.sh, you can use:</p>
+1 −1

File changed.

Preview size limit exceeded, changes collapsed.

+17 −17
Original line number Diff line number Diff line
@@ -2,87 +2,87 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
    <url>
         <loc>https://ocf.etsi.org/develop/</loc>
         <lastmod>2024-04-16</lastmod>
         <lastmod>2024-04-22</lastmod>
         <changefreq>daily</changefreq>
    </url>
    <url>
         <loc>https://ocf.etsi.org/develop/FAQ/</loc>
         <lastmod>2024-04-16</lastmod>
         <lastmod>2024-04-22</lastmod>
         <changefreq>daily</changefreq>
    </url>
    <url>
         <loc>https://ocf.etsi.org/develop/gettingstarted/howtorun/</loc>
         <lastmod>2024-04-16</lastmod>
         <lastmod>2024-04-22</lastmod>
         <changefreq>daily</changefreq>
    </url>
    <url>
         <loc>https://ocf.etsi.org/develop/gettingstarted/repository/</loc>
         <lastmod>2024-04-16</lastmod>
         <lastmod>2024-04-22</lastmod>
         <changefreq>daily</changefreq>
    </url>
    <url>
         <loc>https://ocf.etsi.org/develop/testing/postman/</loc>
         <lastmod>2024-04-16</lastmod>
         <lastmod>2024-04-22</lastmod>
         <changefreq>daily</changefreq>
    </url>
    <url>
         <loc>https://ocf.etsi.org/develop/testing/robotframework/</loc>
         <lastmod>2024-04-16</lastmod>
         <lastmod>2024-04-22</lastmod>
         <changefreq>daily</changefreq>
    </url>
    <url>
         <loc>https://ocf.etsi.org/develop/testing/testplan/</loc>
         <lastmod>2024-04-16</lastmod>
         <lastmod>2024-04-22</lastmod>
         <changefreq>daily</changefreq>
    </url>
    <url>
         <loc>https://ocf.etsi.org/develop/testing/testplan/api_access_control_policy/</loc>
         <lastmod>2024-04-16</lastmod>
         <lastmod>2024-04-22</lastmod>
         <changefreq>daily</changefreq>
    </url>
    <url>
         <loc>https://ocf.etsi.org/develop/testing/testplan/api_auditing_service/</loc>
         <lastmod>2024-04-16</lastmod>
         <lastmod>2024-04-22</lastmod>
         <changefreq>daily</changefreq>
    </url>
    <url>
         <loc>https://ocf.etsi.org/develop/testing/testplan/api_discover_service/</loc>
         <lastmod>2024-04-16</lastmod>
         <lastmod>2024-04-22</lastmod>
         <changefreq>daily</changefreq>
    </url>
    <url>
         <loc>https://ocf.etsi.org/develop/testing/testplan/api_events_service/</loc>
         <lastmod>2024-04-16</lastmod>
         <lastmod>2024-04-22</lastmod>
         <changefreq>daily</changefreq>
    </url>
    <url>
         <loc>https://ocf.etsi.org/develop/testing/testplan/api_invoker_management/</loc>
         <lastmod>2024-04-16</lastmod>
         <lastmod>2024-04-22</lastmod>
         <changefreq>daily</changefreq>
    </url>
    <url>
         <loc>https://ocf.etsi.org/develop/testing/testplan/api_logging_service/</loc>
         <lastmod>2024-04-16</lastmod>
         <lastmod>2024-04-22</lastmod>
         <changefreq>daily</changefreq>
    </url>
    <url>
         <loc>https://ocf.etsi.org/develop/testing/testplan/api_provider_management/</loc>
         <lastmod>2024-04-16</lastmod>
         <lastmod>2024-04-22</lastmod>
         <changefreq>daily</changefreq>
    </url>
    <url>
         <loc>https://ocf.etsi.org/develop/testing/testplan/api_publish_service/</loc>
         <lastmod>2024-04-16</lastmod>
         <lastmod>2024-04-22</lastmod>
         <changefreq>daily</changefreq>
    </url>
    <url>
         <loc>https://ocf.etsi.org/develop/testing/testplan/api_security_service/</loc>
         <lastmod>2024-04-16</lastmod>
         <lastmod>2024-04-22</lastmod>
         <changefreq>daily</changefreq>
    </url>
    <url>
         <loc>https://ocf.etsi.org/develop/testing/testplan/common_operations/</loc>
         <lastmod>2024-04-16</lastmod>
         <lastmod>2024-04-22</lastmod>
         <changefreq>daily</changefreq>
    </url>
</urlset>
 No newline at end of file
−1 B (379 B)

File changed.

No diff preview for this file type.